CMSampleBuffer.CreateReadyWithImageBuffer 方法

定义

重载

CreateReadyWithImageBuffer(CVImageBuffer, CMFormatDescription, CMSampleTimingInfo, CMSampleBufferError)
CreateReadyWithImageBuffer(CVImageBuffer, CMFormatDescription, CMSampleTimingInfo[], CMSampleBufferError)
已过时.

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

返回

适用于

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[]

返回

属性

适用于