Share via


VTDecompressionSession.SetMultiImageCallback Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public VideoToolbox.VTStatus SetMultiImageCallback(VideoToolbox.VTDecompressionSession.VTDecompressionOutputMultiImageCallback outputMultiImageCallback, IntPtr outputMultiImageReference);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.SetMultiImageCallback : VideoToolbox.VTDecompressionSession.VTDecompressionOutputMultiImageCallback * nativeint -> VideoToolbox.VTStatus

Parameters

outputMultiImageCallback
VTDecompressionSession.VTDecompressionOutputMultiImageCallback

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

outputMultiImageReference
IntPtr

nativeint

A user-provided value that is passed to the callback.

Returns

Ok if successful, or an error code otherwise.

Attributes

Applies to