MediaCodecInfo.CodecCapabilities.COLORFormat16bitRGB565 Feld

Definition

Achtung

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

16 Bit pro Pixel RGB-Farbformat mit 5-Bit-Rot - blau und 6-Bit-Grünkomponente.

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

Feldwert

Value = 6
Attribute

Hinweise

16 Bit pro Pixel RGB-Farbformat mit 5-Bit-Rot - blau und 6-Bit-Grünkomponente.

Bei Verwendung der 16-Bit-Little-Endian-Darstellung werden Farben als Rot 15:11, Grün 10:5, Blau 4:0 gespeichert.

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

Dieses Format entspricht android.graphics.PixelFormat#RGB_565 und android.graphics.ImageFormat#RGB_565.

Java Dokumentation für android.media.MediaCodecInfo.CodecCapabilities.COLOR_Format16bitRGB565.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: