CMSampleBuffer.CreateReadyWithImageBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateReadyWithImageBuffer(CVImageBuffer, CMFormatDescription, CMSampleTimingInfo, CMSampleBufferError)
public static CoreMedia.CMSampleBuffer CreateReadyWithImageBuffer (CoreVideo.CVImageBuffer imageBuffer, CoreMedia.CMFormatDescription formatDescription, ref CoreMedia.CMSampleTimingInfo sampleTiming, out CoreMedia.CMSampleBufferError error);
static member CreateReadyWithImageBuffer : CoreVideo.CVImageBuffer * CoreMedia.CMFormatDescription * * -> CoreMedia.CMSampleBuffer
參數
- imageBuffer
- CVImageBuffer
- formatDescription
- CMFormatDescription
- sampleTiming
- CMSampleTimingInfo
- error
- CMSampleBufferError
傳回
適用於
CreateReadyWithImageBuffer(CVImageBuffer, CMFormatDescription, CMSampleTimingInfo[], CMSampleBufferError)
警告
Use the 'CreateReadyWithImageBuffer' overload with a single ref, not array, 'CMSampleTimingInfo' parameter.
[System.Obsolete("Use the 'CreateReadyWithImageBuffer' overload with a single ref, not array, 'CMSampleTimingInfo' parameter.")]
public static CoreMedia.CMSampleBuffer CreateReadyWithImageBuffer (CoreVideo.CVImageBuffer imageBuffer, CoreMedia.CMFormatDescription formatDescription, CoreMedia.CMSampleTimingInfo[] sampleTiming, out CoreMedia.CMSampleBufferError error);
public static CoreMedia.CMSampleBuffer CreateReadyWithImageBuffer (CoreVideo.CVImageBuffer imageBuffer, CoreMedia.CMFormatDescription formatDescription, CoreMedia.CMSampleTimingInfo[] sampleTiming, out CoreMedia.CMSampleBufferError error);
static member CreateReadyWithImageBuffer : CoreVideo.CVImageBuffer * CoreMedia.CMFormatDescription * CoreMedia.CMSampleTimingInfo[] * -> CoreMedia.CMSampleBuffer
參數
- imageBuffer
- CVImageBuffer
- formatDescription
- CMFormatDescription
- sampleTiming
- CMSampleTimingInfo[]
- error
- CMSampleBufferError
傳回
- 屬性