Compartilhar via


DataSpace.RangeLimited Field

Definition

Caution

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

Limited range uses values 16/2562^b to 235/2562^b for Y, and 1/162^b to 15/162^b for Cb, Cr, R, G and B, where b is the bit depth of the color format.

[Android.Runtime.Register("RANGE_LIMITED", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.DataSpaceRange enum directly instead of this field.", true)]
public const Android.Hardware.DataSpaceRange RangeLimited = 268435456;
[<Android.Runtime.Register("RANGE_LIMITED", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.DataSpaceRange enum directly instead of this field.", true)>]
val mutable RangeLimited : Android.Hardware.DataSpaceRange

Field Value

Value = 268435456
Attributes

Remarks

Limited range uses values 16/256*2^b to 235/256*2^b for Y, and 1/16*2^b to 15/16*2^b for Cb, Cr, R, G and B, where b is the bit depth of the color format.

E.g. For 8-bit-depth formats: Luma (Y) samples should range from 16 to 235, inclusive Chroma (Cb, Cr) samples should range from 16 to 240, inclusive

For 10-bit-depth formats: Luma (Y) samples should range from 64 to 940, inclusive Chroma (Cb, Cr) samples should range from 64 to 960, inclusive.

Java documentation for android.hardware.DataSpace.RANGE_LIMITED.

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