summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-10-25 17:05:52 +0200
committerNiklas Haas <git@haasn.xyz>2017-10-25 17:24:27 +0200
commitc2d4fd0ef43e44c5c8caee13ae486ae05784c3a5 (patch)
treec5b7ca23177655b20cc2da382b6b175e6476ceef /demux
parentec8cad40f243870bd7e9b030771a7052089058fa (diff)
downloadmpv-c2d4fd0ef43e44c5c8caee13ae486ae05784c3a5.tar.bz2
mpv-c2d4fd0ef43e44c5c8caee13ae486ae05784c3a5.tar.xz
vo_gpu: change --tone-mapping-desaturate algorithm
Comparing mpv's implementation against the ACES ODR reference samples and algorithms, it seems like they're happy desaturating highlights _way_ more aggressively than mpv currently does. And indeed, looking at some example clips like The Redwoods (which is actually well-mastered), the current desaturation produces unnatural-looking brightness fringes where the sky meets the treeline. Adjust the algorithm to make it apply to a much larger, more gradual brightness region; and change the interpretation of the parameter. As a bonus, the new parameter is actually sanely scaled (higher values = more desaturation). Also, make it scale based on the signal level instead of the luminance, to avoid under-desaturating bright blues.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions