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() 的数组中的平面顺序始终为 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#getRowStride() vPlane.getRowStride()android.media.Image.Plane#getPixelStride() uPlane.getPixelStride() == android.media.Image.Plane#getPixelStride() vPlane.getPixelStride()
例如,该android.media.Image对象可以通过对象提供此格式android.media.MediaCodecandroid.media.MediaCodec#getOutputImage的数据。
Java文档android.graphics.ImageFormat.YUV_444_888。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。