语言

ImageFormat.Nv16 字段

定义

注意

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

用于视频的 YCbCr 格式。

[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

字段值

Value = 16
特性

注解

用于视频的 YCbCr 格式。

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

旧相机 API 是否支持此格式。android.hardware.Camera.Parameters#getSupportedPreviewFormats()

Java文档android.graphics.ImageFormat.NV16。

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

适用于