MediaCodecInfo.CodecCapabilities.COLORFormat32bitABGR2101010 Campo

Definizione

Attenzione

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

32 bit per pixel formato di colore RGBA, con componenti alfa a 10 bit, rosso, verde, blu e alfa a 2 bit.

[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

Valore del campo

Value = 2130750114
Attributi

Commenti

32 bit per pixel formato di colore RGBA, con componenti alfa a 10 bit, rosso, verde, blu e alfa a 2 bit.

Usando la rappresentazione little-endian a 32 bit, i colori archiviati come Rosso 9:0, Verde 19:10, Blu 29:20 e Alfa 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

Corrisponde a android.graphics.PixelFormat#RGBA_1010102.

per android.media.MediaCodecInfo.CodecCapabilities.COLOR_Format32bitABGR2101010.

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