Udostępnij za pośrednictwem


MediaCodecInfo.CodecCapabilities.COLORFormat32bitABGR8888 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 8-bit red, green, blue, and alpha components.

[Android.Runtime.Register("COLOR_Format32bitABGR8888", 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 COLORFormat32bitABGR8888 = 2130747392;
[<Android.Runtime.Register("COLOR_Format32bitABGR8888", 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 COLORFormat32bitABGR8888 : Android.Media.MediaCodecCapabilities

Field Value

Value = 2130747392
Attributes

Remarks

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

Using 32-bit little-endian representation, colors stored as Red 7:0, Green 15:8, Blue 23:16, and Alpha 31:24.

byte              byte             byte              byte
<------ i -----> | <---- i+1 ----> | <---- i+2 ----> | <---- i+3 ----->
            +-----------------+-----------------+-----------------+-----------------+
            |       RED       |      GREEN      |       BLUE      |      ALPHA      |
            +-----------------+-----------------+-----------------+-----------------+

This corresponds to android.graphics.PixelFormat#RGBA_8888.

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

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