ImageFormat.Nv21 フィールド

定義

注意事項

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

NV21 エンコード形式を使用するイメージに使用される YCrCb 形式。

[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
属性

注釈

NV21 エンコード形式を使用するイメージに使用される YCrCb 形式。

これは、プレビュー イメージの既定の android.hardware.Camera 形式です。それ以外の場合は を使用して android.hardware.Camera.Parameters#setPreviewFormat(int)設定されません。

API の android.hardware.camera2 場合は、 #YUV_420_888 代わりに YUV 出力の形式をお勧めします。

の Java ドキュメント android.graphics.ImageFormat.NV21

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象