Share via


VTRawProcessingSession.Create Method

Definition

Overloads

Create(CMVideoFormatDescription, CVPixelBufferAttributes, VTRawProcessingParameters, VTStatus)

Create a new VTRawProcessingSession instance.

public static VideoToolbox.VTRawProcessingSession? Create(CoreMedia.CMVideoFormatDescription formatDescription, CoreVideo.CVPixelBufferAttributes? outputPixelBufferAttributes, VideoToolbox.VTRawProcessingParameters? processingSessionOptions, out VideoToolbox.VTStatus error);
static member Create : CoreMedia.CMVideoFormatDescription * CoreVideo.CVPixelBufferAttributes * VideoToolbox.VTRawProcessingParameters * VTStatus -> VideoToolbox.VTRawProcessingSession

Parameters

formatDescription
CMVideoFormatDescription

This format description corresponding to the original media samples.

outputPixelBufferAttributes
CVPixelBufferAttributes

An optional CoreVideo pixel buffer dictionary.

processingSessionOptions
VTRawProcessingParameters

An optional dictionary of creation options.

error
VTStatus

An error code if the operation was unsuccessful, otherwise Ok.

Returns

A new VTRawProcessingSession instance, or null in case of failure. See the error parameter for the error code.

Applies to

Create(CMVideoFormatDescription, NSDictionary, NSDictionary, VTStatus)

Create a new VTRawProcessingSession instance.

public static VideoToolbox.VTRawProcessingSession? Create(CoreMedia.CMVideoFormatDescription formatDescription, Foundation.NSDictionary? outputPixelBufferAttributes, Foundation.NSDictionary? processingSessionOptions, out VideoToolbox.VTStatus error);
static member Create : CoreMedia.CMVideoFormatDescription * Foundation.NSDictionary * Foundation.NSDictionary * VTStatus -> VideoToolbox.VTRawProcessingSession

Parameters

formatDescription
CMVideoFormatDescription

This format description corresponding to the original media samples.

outputPixelBufferAttributes
NSDictionary

An optional CoreVideo pixel buffer dictionary.

processingSessionOptions
NSDictionary

An optional dictionary of creation options.

error
VTStatus

An error code if the operation was unsuccessful, otherwise Ok.

Returns

A new VTRawProcessingSession instance, or null in case of failure. See the error parameter for the error code.

Applies to