VTDecompressionSession.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(VTDecompressionSession+VTDecompressionOutputCallback, CMVideoFormatDescription, VTVideoDecoderSpecification, CVPixelBufferAttributes)
public static VideoToolbox.VTDecompressionSession Create (VideoToolbox.VTDecompressionSession.VTDecompressionOutputCallback outputCallback, CoreMedia.CMVideoFormatDescription formatDescription, VideoToolbox.VTVideoDecoderSpecification decoderSpecification, CoreVideo.CVPixelBufferAttributes destinationImageBufferAttributes);
static member Create : VideoToolbox.VTDecompressionSession.VTDecompressionOutputCallback * CoreMedia.CMVideoFormatDescription * VideoToolbox.VTVideoDecoderSpecification * CoreVideo.CVPixelBufferAttributes -> VideoToolbox.VTDecompressionSession
参数
- outputCallback
- VTDecompressionSession.VTDecompressionOutputCallback
- formatDescription
- CMVideoFormatDescription
- decoderSpecification
- VTVideoDecoderSpecification
- destinationImageBufferAttributes
- CVPixelBufferAttributes
返回
适用于
Create(VTDecompressionSession+VTDecompressionOutputCallback, CMVideoFormatDescription, VTVideoDecoderSpecification, NSDictionary)
注意
This overload requires that the provided compressionOutputCallback manually CFRetain the passed CMSampleBuffer, use Create(VTDecompressionOutputCallback,CMVideoFormatDescription,VTVideoDecoderSpecification,CVPixelBufferAttributes) variant instead which does not have that requirement.
[System.Obsolete("This overload requires that the provided compressionOutputCallback manually CFRetain the passed CMSampleBuffer, use Create(VTDecompressionOutputCallback,CMVideoFormatDescription,VTVideoDecoderSpecification,CVPixelBufferAttributes) variant instead which does not have that requirement.")]
public static VideoToolbox.VTDecompressionSession Create (VideoToolbox.VTDecompressionSession.VTDecompressionOutputCallback outputCallback, CoreMedia.CMVideoFormatDescription formatDescription, VideoToolbox.VTVideoDecoderSpecification decoderSpecification = null, Foundation.NSDictionary destinationImageBufferAttributes = null);
static member Create : VideoToolbox.VTDecompressionSession.VTDecompressionOutputCallback * CoreMedia.CMVideoFormatDescription * VideoToolbox.VTVideoDecoderSpecification * Foundation.NSDictionary -> VideoToolbox.VTDecompressionSession
参数
- outputCallback
- VTDecompressionSession.VTDecompressionOutputCallback
- formatDescription
- CMVideoFormatDescription
- decoderSpecification
- VTVideoDecoderSpecification
- destinationImageBufferAttributes
- NSDictionary
返回
- 属性