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
返回
- 属性