diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-10 18:18:31 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-10 18:19:46 +0200 |
commit | d0c87dd57918cab1afc4d5968355b6253377c0b1 (patch) | |
tree | be74d142ba356485b0f9e58bddff37495229dab4 /video/out/opengl/video.h | |
parent | b19b0869d68121f4e9a973b53d9abbd370d0a160 (diff) | |
download | mpv-d0c87dd57918cab1afc4d5968355b6253377c0b1.tar.bz2 mpv-d0c87dd57918cab1afc4d5968355b6253377c0b1.tar.xz |
vo_opengl: add a gamut warning feature
This clearly highlights all out-of-gamut/clipped pixels. (Either too
bright or too saturated)
Has some (documented) caveats. Also make TONE_MAPPING_CLIP stop actually
clamping the value range (it's unnecessary and breaks this feature).
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r-- | video/out/opengl/video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index e5e7ae70ec..e20af90643 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -115,6 +115,7 @@ struct gl_video_opts { int compute_hdr_peak; float tone_mapping_param; float tone_mapping_desat; + int gamut_warning; int linear_scaling; int correct_downscaling; int sigmoid_upscaling; |