Share via


MediaCodecInfo.CodecCapabilities.COLORFormat32bitABGR2101010 Field

Definition

Caution

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

32 bits per pixel RGBA color format, with 10-bit red, green, blue, and 2-bit alpha components.

[Android.Runtime.Register("COLOR_Format32bitABGR2101010", ApiSince=33)]
[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 COLORFormat32bitABGR2101010 = 2130750114;
[<Android.Runtime.Register("COLOR_Format32bitABGR2101010", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecCapabilities enum directly instead of this field.", true)>]
val mutable COLORFormat32bitABGR2101010 : Android.Media.MediaCodecCapabilities

Field Value

Value = 2130750114
Attributes

Remarks

32 bits per pixel RGBA color format, with 10-bit red, green, blue, and 2-bit alpha components.

Using 32-bit little-endian representation, colors stored as Red 9:0, Green 19:10, Blue 29:20, and Alpha 31:30.

byte              byte             byte              byte
<------ i -----> | <---- i+1 ----> | <---- i+2 ----> | <---- i+3 ----->
            +-----------------+---+-------------+-------+---------+-----------+-----+
            |       RED           |      GREEN          |       BLUE          |ALPHA|
            +-----------------+---+-------------+-------+---------+-----------+-----+
             0               7 0 1 2           7 0     3 4       7 0         5 6   7

This corresponds to android.graphics.PixelFormat#RGBA_1010102.

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

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