Sdílet prostřednictvím


MediaCodecInfo.CodecCapabilities.COLORFormat24bitBGR888 Field

Definition

Caution

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

24 bits per pixel RGB color format, with 8-bit red, green & blue components.

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

Field Value

Value = 12
Attributes

Remarks

24 bits per pixel RGB color format, with 8-bit red, green & blue components.

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

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

This format corresponds to android.graphics.PixelFormat#RGB_888, and can also be represented as a flexible format by #COLOR_FormatRGBFlexible.

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

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