summaryrefslogtreecommitdiffstats
path: root/video/out/vo_null.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-12-27 18:34:19 +0100
committerJan Ekström <jeebjp@gmail.com>2019-02-18 01:54:06 +0200
commit3fe882d4ae80fa060a71dad0d6d1605afcfe98b6 (patch)
tree56c1a100c373d4a7800f3c016ba7b79e0306c4db /video/out/vo_null.c
parent36600ff1633871a996fe05b8e0ff0b22c2ebb0f9 (diff)
downloadmpv-3fe882d4ae80fa060a71dad0d6d1605afcfe98b6.tar.bz2
mpv-3fe882d4ae80fa060a71dad0d6d1605afcfe98b6.tar.xz
vo_gpu: improve tone mapping desaturation
Instead of desaturating towards luma, we desaturate towards the per-channel tone mapped version. This essentially proves a smooth roll-off towards the "hollywood"-style (non-chromatic) tone mapping algorithm, which works better for bright content, while continuing to use the "linear" style (chromatic) tone mapping algorithm for primarily in-gamut content. We also split up the desaturation algorithm into strength and exponent, which allows users to use less aggressive desaturation settings without affecting the overall curve.
Diffstat (limited to 'video/out/vo_null.c')
0 files changed, 0 insertions, 0 deletions