ImageFormat.YcbcrP010 字段

定义

注意

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

Android YUV P010 格式。

[Android.Runtime.Register("YCBCR_P010", ApiSince=31)]
[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 YcbcrP010 = 54;
[<Android.Runtime.Register("YCBCR_P010", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable YcbcrP010 : Android.Graphics.ImageFormatType

字段值

Value = 54
属性

注解

Android YUV P010 格式。

P010 是一种 4:2:0 YCbCr 半平面格式,由 WxH Y 平面组成,后跟 Wx(H/2) CbCr 平面。 每个样本由 16 位小端值表示,较低的 6 位设置为零。

例如,如果此格式受此格式支持android.hardware.camera2.CameraDevice,则android.media.Image对象可以通过对象提供此格式android.hardware.camera2.CameraDeviceandroid.media.ImageReader的数据。

适用于 . 的 android.graphics.ImageFormat.YCBCR_P010Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于