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.Parameters#setPreviewFormat(int)で設定されていない場合、android.hardware.Cameraプレビュー イメージの既定の形式です。

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

Javaドキュメント。

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

適用対象