diff options
author | Niklas Haas <git@haasn.dev> | 2022-07-11 13:26:27 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2022-07-15 16:34:11 +0200 |
commit | 81c5ed5b137a626813aa6e134ace9897f6daa14e (patch) | |
tree | bc86bf13acfe75f8d234d480f1d94a2a74c61a34 /.github | |
parent | 0044c19f0de29ff752eb708365322b0ec16b53e7 (diff) | |
download | mpv-81c5ed5b137a626813aa6e134ace9897f6daa14e.tar.bz2 mpv-81c5ed5b137a626813aa6e134ace9897f6daa14e.tar.xz |
vo_gpu: fix 3DLUT precision
Using cmsFLAGS_HIGHRESPRECALC results in Little-CMS generating an
internal 49x49x49 3DLUT, from which it then samples our own 3DLUT. This
is completely pointless and not only destroys the accuracy of the 3DLUT,
but also results in no additional gain from increasing the 3DLUT
precision further.
The correct flag for us to be using is cmsFLAGS_NOOPTIMIZE, which
suppresses this internal 3DLUT generation and gives us the full
precision. We can also specify cmsFLAGS_NOCACHE, which is negligible but
in theory prevents Little-CMS from unnecessary pixel equality tests.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions