summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2022-01-26 16:43:02 -0800
committer Alec Mouri <alecmouri@google.com> 2022-02-01 00:25:41 +0000
commit5a49372252e8ef08387800effe6d39196f274027 (patch)
tree00733a2feb02dd8b067cca7730a3f8d5286a570a /libs/gui/BufferQueueThreadState.cpp
parentd029092f6bdba62f9fc9d6e0c180b0bb0b0d1111 (diff)
Use BT2100 OOTF for HLG...
...which it turns out we already do, except we apply a tone-map for HDR10 after scaling the luminance. Don't apply the HDR10 tone-map, and instead linearly normalize to max display luminance. Furthermore, adjust the gamma used in the default HLG OOTF in libshaders to take into account current display luminance according to the BT2100 spec, which says that the OOTF gamma should be adjusted if the effective luminance differs from 1000 nits Bug: 208933319 Test: librenderengine_test Test: libtonemap_test Test: HLG and PQ test videos on youtube Change-Id: I622096ad387420ce4769f6f080b8756cd57baa7d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions