ImageFormat.Yuy2 Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.
YCbCr format used for images, which uses YUYV (YUY2) encoding format.
[Android.Runtime.Register("YUY2")]
[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 Yuy2 = 20;
[<Android.Runtime.Register("YUY2")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable Yuy2 : Android.Graphics.ImageFormatType
Field Value
Value = 20- Attributes
Remarks
YCbCr format used for images, which uses YUYV (YUY2) encoding format.
For the android.hardware.camera2
API, the #YUV_420_888
format is recommended for YUV output instead.
This is an alternative format for android.hardware.Camera
preview images. Whether this format is supported by the camera hardware can be determined by android.hardware.Camera.Parameters#getSupportedPreviewFormats()
.
Java documentation for android.graphics.ImageFormat.YUY2
.
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.