共用方式為


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

傳回

屬性

適用於