DataSpace.RangeExtended Field

Definition

Caution

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

Extended range can be used in combination with FP16 to communicate scRGB or with android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float) to indicate an HDR range.

[Android.Runtime.Register("RANGE_EXTENDED", 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 RangeExtended = 402653184;
[<Android.Runtime.Register("RANGE_EXTENDED", 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 RangeExtended : Android.Hardware.DataSpaceRange

Field Value

Value = 402653184
Attributes

Remarks

Extended range can be used in combination with FP16 to communicate scRGB or with android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float) to indicate an HDR range.

When used with floating point pixel formats and #STANDARD_BT709 then [0.0 - 1.0] is the standard sRGB space and values outside the range [0.0 - 1.0] can encode color outside the sRGB gamut. [-0.5, 7.5] is the standard scRGB range. Used to blend/merge multiple dataspaces on a single display.

As of android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE this may be combined with android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float) and other formats such as HardwareBuffer#RGBA_8888 or HardwareBuffer#RGBA_1010102 to communicate a variable HDR brightness range

Java documentation for android.hardware.DataSpace.RANGE_EXTENDED.

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