語言

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於