summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-07-19 08:04:49 +0200
committerNiklas Haas <git@haasn.xyz>2020-07-19 08:07:48 +0200
commitc53a47eda38e1724a7c731c8bbf0b5015fcb7135 (patch)
treedf0cf06796e8483c119e2ec7a5aed30213ba7fe7 /wscript_build.py
parent96cdf5315e1bbda580c68976fb6e763c4c43729d (diff)
downloadmpv-c53a47eda38e1724a7c731c8bbf0b5015fcb7135.tar.bz2
mpv-c53a47eda38e1724a7c731c8bbf0b5015fcb7135.tar.xz
vo_gpu: clip highlights before tone-mapping
Rather than after tone-mapping. This prevents overflow when the pre-tonemapped signal contains inputs exceeding sig_peak. I also realized that with this clipping in place, post-clipping no longer needs to be done, so this isn't even particularly slower. The only two exceptions to the rule are "clip" and "linear", which relied on the post-clipping to do their tone mapping properly. Fixes #7929
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions