VTDecompressionSession.SetMultiImageCallback 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.
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