共用方式為


MediaCodecInfo.CodecCapabilities.COLORFormat32bitABGR8888 欄位

定義

警告

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

每個圖元 32 位 RGBA 色彩格式,具有 8 位紅色、綠色、藍色和 Alpha 元件。

[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

欄位值

Value = 2130747392
屬性

備註

每個圖元 32 位 RGBA 色彩格式,具有 8 位紅色、綠色、藍色和 Alpha 元件。

使用 32 位的位元組表示法、儲存為紅色 7:0、綠色 15:8、藍色 23:16 和 Alpha 31:24 的色彩。

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

這會對應至 android.graphics.PixelFormat#RGBA_8888

android.media.MediaCodecInfo.CodecCapabilities.COLOR_Format32bitABGR8888Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於