MediaCodec.ConfigureFlagUseBlockModel Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.

If this codec is to be used with LinearBlock and/or HardwareBuffer, pass this flag.

[Android.Runtime.Register("CONFIGURE_FLAG_USE_BLOCK_MODEL", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.", true)]
public const Android.Media.MediaCodecConfigFlags ConfigureFlagUseBlockModel = 2;
[<Android.Runtime.Register("CONFIGURE_FLAG_USE_BLOCK_MODEL", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecConfigFlags enum directly instead of this field.", true)>]
val mutable ConfigureFlagUseBlockModel : Android.Media.MediaCodecConfigFlags

Field Value

Value = 2
Attributes

Remarks

If this codec is to be used with LinearBlock and/or HardwareBuffer, pass this flag.

When this flag is set, the following APIs throw IncompatibleWithBlockModelException. <ul> <li>#getInputBuffer<li>#getInputImage<li>#getInputBuffers<li>#getOutputBuffer<li>#getOutputImage<li>#getOutputBuffers<li>#queueInputBuffer<li>#queueSecureInputBuffer<li>#dequeueInputBuffer<li>#dequeueOutputBuffer</ul>

Java documentation for android.media.MediaCodec.CONFIGURE_FLAG_USE_BLOCK_MODEL.

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.

Applies to