Lingua

MediaCodecInfo.CodecCapabilities.COLORFormat16bitRGB565 Campo

Definizione

Attenzione

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

Formato di colore RGB a 16 bit per pixel, con componente verde rosso e blu a 5 bit e verde a 6 bit.

[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

Valore del campo

Value = 6
Attributi

Commenti

Formato di colore RGB a 16 bit per pixel, con componente verde rosso e blu a 5 bit e verde a 6 bit.

Usando la rappresentazione little-endian a 16 bit, i colori archiviati come Rosso 15:11, Verde 10:5, Blu 4:0.

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

Questo formato corrisponde a android.graphics.PixelFormat#RGB_565 e android.graphics.ImageFormat#RGB_565.

per android.media.MediaCodecInfo.CodecCapabilities.COLOR_Format16bitRGB565.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a