diff options
author | Niklas Haas <git@haasn.xyz> | 2017-06-17 01:55:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-18 20:54:44 +0200 |
commit | c3f32f3a6e3486093eb17518146a6459a34c0c41 (patch) | |
tree | c6fbc9ea3695a5aef4a53151041fe2dbaae2bfd8 /misc | |
parent | 6a4ce39648a7d93d9f06ec4f39254bd54ef7d408 (diff) | |
download | mpv-c3f32f3a6e3486093eb17518146a6459a34c0c41.tar.bz2 mpv-c3f32f3a6e3486093eb17518146a6459a34c0c41.tar.xz |
vo_opengl: tone map in linear XYZ instead of RGB
This preserves channel balance better and helps reduce discoloration due
to nonlinear tone mapping.
I wasn't sure whether to stuff this inside pass_color_manage or
pass_tone_map but decided for the former because adding the extra
mp_csp_prim would have made the signature of the latter longer than
80col, and also because the `mp_get_cms_matrix` below it basically does
the same thing anyway, so it doesn't look that out of place. Also why is
this justification longer than the actual description of the algorithm
and what it's good for?
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions