ImageFormat.FlexRgb888 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 位元。
此格式的影像總是由三個獨立的資料緩衝區表示,每個顏色平面各有一個緩衝區。 緩衝區總是附有額外資訊,描述每個平面的行步幅和像素步幅。
陣列中回傳 android.media.Image#getPlanes() Image#getPlanes() 的平面順序是保證的,使得平面 #0 總是 R(紅色)、平面 #1 永遠是 G(綠色)、平面 #2 永遠是 B(藍色)。
三個平面保證行步和像素步幅都一樣。
例如, android.media.Image 物件可以從 android.media.MediaCodec 透過 android.media.MediaCodec#getOutputImage 物件提供此格式的資料。
Java 文件 android.graphics.ImageFormat.FLEX_RGB_888。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。