Share via


VTDecompressionSession Class

Definition

Turns compressed frames into uncompressed video frames.

public class VTDecompressionSession : VideoToolbox.VTSession
type VTDecompressionSession = class
    inherit VTSession
Inheritance

Properties

Name Description
Handle (Inherited from DisposableObject)
Owns (Inherited from DisposableObject)

Methods

Name Description
CanAcceptFormatDescriptor(CMFormatDescription)

Checks whether the VTDecompressionSession can decode frames of the specified format.

ClearHandle() (Inherited from DisposableObject)
CopyBlackPixelBuffer(CVPixelBuffer)

Get a black pixel buffer from the session.

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

Create a new VTDecompressionSession instance.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, IntPtr, VTDecodeInfoFlags)

Decode a video frame.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, NSDictionary, IntPtr, VTDecodeInfoFlags)

Decode a video frame that may contain more than one image.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, NSDictionary, VTDecodeInfoFlags, VTDecompressionSession+VTDecompressionOutputHandler)

Decode a video frame that may contain more than one image.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, VTDecodeFrameOptions, IntPtr, VTDecodeInfoFlags)

Decode a video frame that may contain more than one image.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, VTDecodeFrameOptions, VTDecodeInfoFlags, VTDecompressionSession+VTDecompressionOutputHandler)

Decode a video frame that may contain more than one image.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, VTDecodeInfoFlags, VTDecompressionSession+VTDecompressionMultiImageCapableOutputHandler)

Decode a video frame that may contain more than one image.

DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, VTDecodeInfoFlags, VTDecompressionSession+VTDecompressionOutputHandler)

Decode a video frame.

Dispose() (Inherited from DisposableObject)
Dispose(Boolean)
Equals(Object) (Inherited from DisposableObject)
FinishDelayedFrames()

Request the decoder to decode all delayed frames.

GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
GetProperties() (Inherited from VTSession)
GetProperty(NSString) (Inherited from VTSession)
GetSerializableProperties() (Inherited from VTSession)
GetSupportedProperties() (Inherited from VTSession)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
IsHardwareDecodeSupported(CMVideoCodecType)

Checks whether the specified codecType can be decoded in hardware.

IsStereoMvHevcDecodeSupported()

Returns whether the current system supports stereo MV-HEVC decode.

Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
SetDecompressionProperties(VTDecompressionProperties)

Set any decompression properties.

SetMultiImageCallback(VTDecompressionSession+VTDecompressionOutputMultiImageCallback, IntPtr)

Set a callback that will be called when a single call to DecodeFrame(CMSampleBuffer, VTDecodeFrameFlags, IntPtr, VTDecodeInfoFlags) produces multiple images.

SetProperties(VTPropertyOptions) (Inherited from VTSession)
SetProperty(NSString, NSObject) (Inherited from VTSession)
WaitForAsynchronousFrames()

Wait until all asynchronous frames have been decoded.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to