VTRawProcessingSession.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Create(CMVideoFormatDescription, CVPixelBufferAttributes, VTRawProcessingParameters, VTStatus) |
Create a new VTRawProcessingSession instance. |
| Create(CMVideoFormatDescription, NSDictionary, NSDictionary, VTStatus) |
Create a new VTRawProcessingSession instance. |
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.
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.
Returns
A new VTRawProcessingSession instance, or null in case of failure. See the error parameter for the error code.