語言

DataSpace.RangeExtended 欄位

定義

警告

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

擴展範圍可與 FP16 結合使用,以通訊 scRGB,或 android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float) 用以表示 HDR 範圍。

[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

欄位值

Value = 402653184
屬性

備註

擴展範圍可與 FP16 結合使用,以通訊 scRGB,或與 FP16 android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float) 共同指示 HDR 範圍。

當與浮點像素格式搭配 #STANDARD_BT709 時,[0.0 - 1.0] 是標準的 sRGB 空間,而範圍外的值則可編碼超出 sRGB 色域的顏色。 [-0.5, 7.5] 是標準的 scRGB 範圍。 用來在同一螢幕上混合/合併多個資料空間。

因此android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE,它可以與其他android.view.SurfaceControl.Transaction#setExtendedRangeBrightness(SurfaceControl, float, float)格式HardwareBuffer#RGBA_8888HardwareBuffer#RGBA_1010102結合,例如傳送可變的 HDR 亮度範圍

Java 文件 android.hardware.DataSpace.RANGE_EXTENDED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於