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
傳回
- 屬性