次の方法で共有


MediaCodecInfo.CodecCapabilities.COLORFormatYUV420Flexible Field

Definition

Caution

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

Flexible 12 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

[Android.Runtime.Register("COLOR_FormatYUV420Flexible")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecCapabilities enum directly instead of this field.", true)]
public const Android.Media.MediaCodecCapabilities COLORFormatYUV420Flexible = 2135033992;
[<Android.Runtime.Register("COLOR_FormatYUV420Flexible")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecCapabilities enum directly instead of this field.", true)>]
val mutable COLORFormatYUV420Flexible : Android.Media.MediaCodecCapabilities

Field Value

Value = 2135033992
Attributes

Remarks

Flexible 12 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

Chroma planes are subsampled by 2 both horizontally and vertically. Use this format with Image. This format corresponds to android.graphics.ImageFormat#YUV_420_888, and can represent the #COLOR_FormatYUV411Planar, #COLOR_FormatYUV411PackedPlanar, #COLOR_FormatYUV420Planar, #COLOR_FormatYUV420PackedPlanar, #COLOR_FormatYUV420SemiPlanar and #COLOR_FormatYUV420PackedSemiPlanar formats.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Flexible.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to