ImageFormat.Yuv444888 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.
多平面 Android YUV 444 格式
[Android.Runtime.Register("YUV_444_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 Yuv444888 = 40;
[<Android.Runtime.Register("YUV_444_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 Yuv444888 : Android.Graphics.ImageFormatType
欄位值
Value = 40- 屬性
備註
多平面 Android YUV 444 格式
此格式為通用的 YCbCr 格式,能描述任何 4:4:4(平面、半平面或交錯)格式,每個顏色樣本有 8 位元。
此格式的影像總是由三個獨立的資料緩衝區表示,每個顏色平面各有一個緩衝區。 緩衝區總是附有額外資訊,描述每個平面的行步幅和像素步幅。
陣列中回傳 android.media.Image#getPlanes() Image#getPlanes() 的平面順序是保證的,使得平面 #0 總是 Y,平面 #1 總是 U(Cb),平面 #2 總是 V(Cr)。
與格式#YUV_420_888相反,Y 平面的像素步幅可能大於 1 吋。android.media.Image.Plane#getPixelStride() yPlane.getPixelStride()
U/V 平面保證具有相同的行步幅與像素步幅(特別是 android.media.Image.Plane#getRowStride() uPlane.getRowStride()android.media.Image.Plane#getPixelStride() vPlane.getPixelStride() == android.media.Image.Plane#getRowStride() vPlane.getRowStride()android.media.Image.Plane#getPixelStride() uPlane.getPixelStride() == ;)。
例如, android.media.Image 物件可以從 android.media.MediaCodec 透過 android.media.MediaCodec#getOutputImage 物件提供此格式的資料。
Java 文件 android.graphics.ImageFormat.YUV_444_888。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。