MediaCodec.QueueRequest.SetMultiFrameLinearBlock 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 linear block that contain multiple non-encrypted access unit to this queue request.
[Android.Runtime.Register("setMultiFrameLinearBlock", "(Landroid/media/MediaCodec$LinearBlock;Ljava/util/ArrayDeque;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=35)]
public Android.Media.MediaCodec.QueueRequest SetMultiFrameLinearBlock(Android.Media.MediaCodec.LinearBlock block, Java.Util.ArrayDeque infos);
[<Android.Runtime.Register("setMultiFrameLinearBlock", "(Landroid/media/MediaCodec$LinearBlock;Ljava/util/ArrayDeque;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=35)>]
member this.SetMultiFrameLinearBlock : Android.Media.MediaCodec.LinearBlock * Java.Util.ArrayDeque -> Android.Media.MediaCodec.QueueRequest
Parameters
- block
- MediaCodec.LinearBlock
The linear block object. This value cannot be null.
- infos
- ArrayDeque
Represents MediaCodec.BufferInfo objects to mark individual access-unit boundaries and the timestamps associated with it. This value cannot be null.
Returns
this object. This value cannot be null.
- Attributes
Remarks
Set a linear block that contain multiple non-encrypted access unit to this queue request. Exactly one buffer must be set for a queue request before calling queue(). Multiple access units if present must be laid out contiguously and without gaps and in order. An IllegalArgumentException will be thrown during queue() if access units are not laid out contiguously.
Android reference for android.media.MediaCodec.QueueRequest.setMultiFrameLinearBlock.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.