summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2023-05-02 00:03:08 +0000
committer Alec Mouri <alecmouri@google.com> 2023-05-02 00:08:26 +0000
commit792b150a708a61faedaaa5983fbc5c5185984f50 (patch)
treed45dba99bbb180dd1ceae9da7c336859249fe7cc /libs/ultrahdr/jpegencoderhelper.cpp
parent8a186104276cdf57d552c54dbad488e14f0d3d16 (diff)
Don't overdim SDR content in an HLG screenshot.
Aligning HLG and PQ to 1.0 == 203 nits made SDR assets in screenshots too dim, since both the colorspace and the color transform applied dimming. Removing dimming application from the color transform is a larger change, so just compensate when configuring the screenshot in SurfaceFlinger instead. Bug: 280347733 Test: HwAccelerationTest Test: Navigate in and out of recents Change-Id: Idfdb74c0c3b977717b870b2bb9a469be37d27dc9
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions