Share via


VTDecompressionSession.VTDecompressionOutputCallback Delegate

Definition

A delegate that will be called for each decompressed frame.

public delegate void VTDecompressionSession.VTDecompressionOutputCallback(IntPtr sourceFrame, VTStatus status, VTDecodeInfoFlags flags, CVImageBuffer? buffer, CMTime presentationTimeStamp, CMTime presentationDuration);
type VTDecompressionSession.VTDecompressionOutputCallback = delegate of nativeint * VTStatus * VTDecodeInfoFlags * CVImageBuffer * CMTime * CMTime -> unit

Parameters

sourceFrame
IntPtr

nativeint

The token passed starting the decoding operation.

status
VTStatus

Status code indicating if the operation was successful or not.

flags
VTDecodeInfoFlags

Contains information about the decoding operation.

buffer
CVImageBuffer

Contains a pointer to the decoded buffer if successful. A null value indicates an error.

presentationTimeStamp
CMTime

The presentation timestamp of the decoded frame.

presentationDuration
CMTime

The duration of the decoded frame.

Applies to