VTCompressionSession.EncodeMultiImageFrame 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 |
|---|---|
| EncodeMultiImageFrame(CMTaggedBufferGroup, CMTime, CMTime, NSDictionary, IntPtr, VTEncodeInfoFlags) |
Encode a multi-image video frame. |
| EncodeMultiImageFrame(CMTaggedBufferGroup, CMTime, CMTime, NSDictionary, VTEncodeInfoFlags, VTCompressionSession+VTCompressionOutputHandler) |
Encode a multi-image video frame. |
EncodeMultiImageFrame(CMTaggedBufferGroup, CMTime, CMTime, NSDictionary, IntPtr, VTEncodeInfoFlags)
Encode a multi-image video frame.
public VideoToolbox.VTStatus EncodeMultiImageFrame(CoreMedia.CMTaggedBufferGroup taggedBufferGroup, CoreMedia.CMTime presentationTimestamp, CoreMedia.CMTime duration, Foundation.NSDictionary? frameProperties, IntPtr sourceFrame, out VideoToolbox.VTEncodeInfoFlags infoFlags);
member this.EncodeMultiImageFrame : CoreMedia.CMTaggedBufferGroup * CoreMedia.CMTime * CoreMedia.CMTime * Foundation.NSDictionary * nativeint * VTEncodeInfoFlags -> VideoToolbox.VTStatus
Parameters
- taggedBufferGroup
- CMTaggedBufferGroup
The tagged buffer group with multiple images to compress.
- presentationTimestamp
- CMTime
The presentation timestamp for this frame.
- duration
- CMTime
The duration of this frame.
- frameProperties
- NSDictionary
Any frame properties for this frame.
- sourceFrame
-
IntPtr
nativeint
This value will be passed to the VTCompressionSession.VTCompressionOutputCallback callback that was specified when the compression session was created.
- infoFlags
- VTEncodeInfoFlags
Upon return, any information flags from the encoder for this frame.
Returns
Ok if successful, or an error code otherwise.
Applies to
EncodeMultiImageFrame(CMTaggedBufferGroup, CMTime, CMTime, NSDictionary, VTEncodeInfoFlags, VTCompressionSession+VTCompressionOutputHandler)
Encode a multi-image video frame.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public VideoToolbox.VTStatus EncodeMultiImageFrame(CoreMedia.CMTaggedBufferGroup taggedBufferGroup, CoreMedia.CMTime presentationTimestamp, CoreMedia.CMTime duration, Foundation.NSDictionary? frameProperties, out VideoToolbox.VTEncodeInfoFlags infoFlags, VideoToolbox.VTCompressionSession.VTCompressionOutputHandler outputHandler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.EncodeMultiImageFrame : CoreMedia.CMTaggedBufferGroup * CoreMedia.CMTime * CoreMedia.CMTime * Foundation.NSDictionary * VTEncodeInfoFlags * VideoToolbox.VTCompressionSession.VTCompressionOutputHandler -> VideoToolbox.VTStatus
Parameters
- taggedBufferGroup
- CMTaggedBufferGroup
The tagged buffer group with multiple images to compress.
- presentationTimestamp
- CMTime
The presentation timestamp for this frame.
- duration
- CMTime
The duration of this frame.
- frameProperties
- NSDictionary
Any frame properties for this frame.
- infoFlags
- VTEncodeInfoFlags
Upon return, any information flags from the encoder for this frame.
- outputHandler
- VTCompressionSession.VTCompressionOutputHandler
A callback that will be invoked to process a compressed frame. See the delegate type for more information on the received parameters.
Returns
Ok if successful, or an error code otherwise.
- Attributes