diff options
author | Niklas Haas <git@haasn.xyz> | 2018-02-23 13:35:59 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-02-25 16:11:26 +0200 |
commit | 1f2d8ed01cfc85fb910f21e9a7290265d0dcf11c (patch) | |
tree | 714430fa690d1ab837dd4fadb47f8fc07e6c319a /video/out/x11_common.c | |
parent | 66dfb96fa1e49127fb76eddec8ecfce973acdc21 (diff) | |
download | mpv-1f2d8ed01cfc85fb910f21e9a7290265d0dcf11c.tar.bz2 mpv-1f2d8ed01cfc85fb910f21e9a7290265d0dcf11c.tar.xz |
vo_gpu: fix mobius tone mapping when sig_peak <= 1.0
Mobius isn't well-defined for sig_peak <= 1.0. We can solve this by just
soft-clamping sig_peak to 1.0. Although, in this case, we can just skip
tone mapping altogether since the limit of mobius as sig_peak -> 1.0 is
just a linear function.
Diffstat (limited to 'video/out/x11_common.c')
0 files changed, 0 insertions, 0 deletions