ImageFormat.YcbcrP010 Field

Definition

Caution

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

Android YUV P010 format.

[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

Field Value

Value = 54
Attributes

Remarks

Android YUV P010 format.

P010 is a 4:2:0 YCbCr semiplanar format comprised of a WxH Y plane followed by a Wx(H/2) CbCr plane. Each sample is represented by a 16-bit little-endian value, with the lower 6 bits set to zero.

For example, the android.media.Image object can provide data in this format from a android.hardware.camera2.CameraDevice through a android.media.ImageReader object if this format is supported by android.hardware.camera2.CameraDevice.

Java documentation for android.graphics.ImageFormat.YCBCR_P010.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to