diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-05-16 00:19:25 +0200 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2016-05-16 02:45:39 +0200 |
commit | 3cfe98c6848d888e06e5d402f9100d55ab09d755 (patch) | |
tree | 4c0825680c3da6c157c90b777c376e94ddd3067d /libmpv/opengl_cb.h | |
parent | f81f486c68ca55c1e6175e41b0473d9568a6fe5b (diff) | |
download | mpv-3cfe98c6848d888e06e5d402f9100d55ab09d755.tar.bz2 mpv-3cfe98c6848d888e06e5d402f9100d55ab09d755.tar.xz |
vo_opengl: avoid redundant double-gamma conversion
Due to the way color management in mpv worked historically, the subtitle
blending function was written to preserve the linearity of the input.
(In the past, the 3DLUT function required linear inputs)
Since the 3DLUT was refactored to accept the video color directly, the
re-linearization after blending is now virtually always redundant.
(Notably, it's also redundant when CMS is turned off, so this way of
writing the code stopped making sense a long time ago. It is a remnant
from before the pass_colormanage function was as flexible as it is now)
Diffstat (limited to 'libmpv/opengl_cb.h')
0 files changed, 0 insertions, 0 deletions