ImageFormat.FlexRgb888 フィールド

定義

注意事項

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

マルチプレーン Android RGB 形式

[Android.Runtime.Register("FLEX_RGB_888", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)]
public const Android.Graphics.ImageFormatType FlexRgb888 = 41;
[<Android.Runtime.Register("FLEX_RGB_888", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable FlexRgb888 : Android.Graphics.ImageFormatType

フィールド値

Value = 41
属性

注釈

マルチプレーン Android RGB 形式

この形式は、ほとんどの RGB 形式を記述できる汎用 RGB 形式で、カラー サンプルあたり 8 ビットです。

この形式の画像は、常に 3 つの個別のデータ バッファー (カラー プレーンごとに 1 つ) で表されます。 追加情報は常にバッファーに付随し、行のストライドと各平面のピクセルストライドを記述します。

android.media.Image#getPlanes() Image#getPlanes()によって返される配列内の平面の順序は、平面 #0 が常に R (赤)、平面 #1 が常に G (緑)、平面 #2 が常に B (青) になるように保証されます。

3 つの平面はすべて、同じ行のストライドとピクセルストライドを持つことが保証されています。

たとえば、 android.media.Image オブジェクトは、 android.media.MediaCodec から android.media.MediaCodec#getOutputImage オブジェクトまでのデータをこの形式で提供できます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象