Partager via


VTDecompressionSession.Create Méthode

Définition

Surcharges

Create(VTDecompressionSession+VTDecompressionOutputCallback, CMVideoFormatDescription, VTVideoDecoderSpecification, CVPixelBufferAttributes)
Create(VTDecompressionSession+VTDecompressionOutputCallback, CMVideoFormatDescription, VTVideoDecoderSpecification, NSDictionary)
Obsolète.

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

Paramètres

formatDescription
CMVideoFormatDescription
decoderSpecification
VTVideoDecoderSpecification
destinationImageBufferAttributes
CVPixelBufferAttributes

Retours

S’applique à

Create(VTDecompressionSession+VTDecompressionOutputCallback, CMVideoFormatDescription, VTVideoDecoderSpecification, NSDictionary)

Attention

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

Paramètres

formatDescription
CMVideoFormatDescription
decoderSpecification
VTVideoDecoderSpecification
destinationImageBufferAttributes
NSDictionary

Retours

Attributs

S’applique à