summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-06 05:43:00 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-06 05:43:00 +0200
commit9e04018f920c6c8eed46a779af00f9543e6539d6 (patch)
treed88e2b05dfb2f6f2a9d902d69357ef976ab99017 /video/out/opengl/video.h
parent6f77444f6c2d82feeebcd46a2b2f7ae3252648ef (diff)
downloadmpv-9e04018f920c6c8eed46a779af00f9543e6539d6.tar.bz2
mpv-9e04018f920c6c8eed46a779af00f9543e6539d6.tar.xz
vo_opengl: add --tone-mapping-desaturate
This helps prevent unnaturally, weirdly colorized blown out highlights for direct images of the sunlit sky and other way-too-bright HDR content. I was debating whether to set the default at 1.0 or 2.0, but went with the more conservative option that preserves more detail/color.
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r--video/out/opengl/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h
index 4a51d421ad..b4f91b802f 100644
--- a/video/out/opengl/video.h
+++ b/video/out/opengl/video.h
@@ -110,6 +110,7 @@ struct gl_video_opts {
int target_brightness;
int hdr_tone_mapping;
float tone_mapping_param;
+ float tone_mapping_desat;
int linear_scaling;
int correct_downscaling;
int sigmoid_upscaling;