Share via


MediaCodecInfo.CodecCapabilities.COLORFormatYUV422Flexible Field

Definition

Caution

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

Flexible 16 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

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

Field Value

Value = 2135042184
Attributes

Remarks

Flexible 16 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

Chroma planes are horizontally subsampled by 2. Use this format with Image. This format corresponds to android.graphics.ImageFormat#YUV_422_888, and can represent the #COLOR_FormatYCbYCr, #COLOR_FormatYCrYCb, #COLOR_FormatCbYCrY, #COLOR_FormatCrYCbY, #COLOR_FormatYUV422Planar, #COLOR_FormatYUV422PackedPlanar, #COLOR_FormatYUV422SemiPlanar and #COLOR_FormatYUV422PackedSemiPlanar formats.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV422Flexible.

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