VTMotionEstimationSession.Create Method

Definition

Overloads

Create(NSDictionary, UInt32, UInt32, VTStatus)

Create a new VTMotionEstimationSession instance.

public static VideoToolbox.VTMotionEstimationSession? Create(Foundation.NSDictionary? options, uint width, uint height, out VideoToolbox.VTStatus status);
static member Create : Foundation.NSDictionary * uint32 * uint32 * VTStatus -> VideoToolbox.VTMotionEstimationSession

Parameters

options
NSDictionary

Any options for the new VTMotionEstimationSession instance.

width
UInt32

The frame width of the source and destination frames.

height
UInt32

The frame height of the source and destination frames.

status
VTStatus

Upon return, Ok if successful, or an error code otherwise.

Returns

A new VTMotionEstimationSession instance if successful, null otherwise.

Applies to

Create(VTMotionEstimationSessionCreationOption, UInt32, UInt32, VTStatus)

Create a new VTMotionEstimationSession instance.

public static VideoToolbox.VTMotionEstimationSession? Create(VideoToolbox.VTMotionEstimationSessionCreationOption? options, uint width, uint height, out VideoToolbox.VTStatus status);
static member Create : VideoToolbox.VTMotionEstimationSessionCreationOption * uint32 * uint32 * VTStatus -> VideoToolbox.VTMotionEstimationSession

Parameters

options
VTMotionEstimationSessionCreationOption

Any options for the new VTMotionEstimationSession instance.

width
UInt32

The frame width of the source and destination frames.

height
UInt32

The frame height of the source and destination frames.

status
VTStatus

Upon return, Ok if successful, or an error code otherwise.

Returns

A new VTMotionEstimationSession instance if successful, null otherwise.

Applies to