libjpegrecoverymap: Update min/max boost determination.
Fix min/max content boost to 1 / 10 for HLG and 1 / 100 for PQ.
Determining these values based on both input images can be problematic
due to jpeg encoding artifacts. Additionally, min of 1 seems justified
since attentuation during map application has not come up in a
meaningful way in practice with HLG and PQ input.
This also has the nice benefit of improving encode performance
significantly; generate map numbers for 12MP on Pixel 7 Pro are now
around 45ms, down from ~150ms!
Bug: 264715926
Test: tests pass
Change-Id: Ia016b68de5900cb263d383b1ae64f7c39cc499cd
1 file changed