summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Nick Deakin <deakin@google.com> 2022-11-29 22:47:40 -0500
committer Nick Deakin <deakin@google.com> 2022-11-29 23:00:45 -0500
commit65f492ab8038f6ec25547faad1c659bc62f8480b (patch)
treed11ff672bde622a42cc4590a662c1822aaa74e71 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent1be799e7263029c60e36f4e58d7ecd4f79921e9e (diff)
Add RecoveryMapMath tests; also some fixes.
Add thorough tests for recovery map math. Also, the following fixes for issues discovered along the way: * Added proper scaling of luminances during map generation * Corrected some luminance and color conversions using incorrect luminance/luma cooeficients * Corrected PQ inverse OETF * Corrected clipping of gain when encoding recovery * Corrected sampleMap to use a better, working sampling algorithm instead of the previous bad and incorrect one * Clarified expected ranges in and out of some transformation functions * Clarified references for a bunch of transformations Bug: 252835416 Test: builds, new tests pass Change-Id: I3c2192e840b784774c60cf212aaf188501915340
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions