语言

ImageFormat.Nv21 字段

定义

注意

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

用于图像的 YCrCb 格式,该格式使用 NV21 编码格式。

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

字段值

Value = 17
特性

注解

用于图像的 YCrCb 格式,该格式使用 NV21 编码格式。

如果未使用其他方式设置android.hardware.Camera预览图像,则这是默认格式android.hardware.Camera.Parameters#setPreviewFormat(int)。

android.hardware.camera2对于 API,#YUV_420_888建议改用 YUV 输出的格式。

Java文档android.graphics.ImageFormat.NV21。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于