ImageFormat.Nv16 Field

Definition

Caution

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

YCbCr format, used for video.

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

Field Value

Value = 16
Attributes

Remarks

YCbCr format, used for video.

For the android.hardware.camera2 API, the #YUV_420_888 format is recommended for YUV output instead.

Whether this format is supported by the old camera API can be determined by android.hardware.Camera.Parameters#getSupportedPreviewFormats().

Java documentation for android.graphics.ImageFormat.NV16.

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