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_shaders.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_shaders.h')
-rw-r--r-- | video/out/opengl/video_shaders.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video_shaders.h b/video/out/opengl/video_shaders.h index 1fae830720..8345e4c598 100644 --- a/video/out/opengl/video_shaders.h +++ b/video/out/opengl/video_shaders.h @@ -46,7 +46,7 @@ void pass_color_map(struct gl_shader_cache *sc, struct mp_colorspace src, struct mp_colorspace dst, enum tone_mapping algo, float tone_mapping_param, float tone_mapping_desat, bool use_detected_peak, - bool is_linear); + bool gamut_warning, bool is_linear); void pass_sample_deband(struct gl_shader_cache *sc, struct deband_opts *opts, AVLFG *lfg, enum mp_csp_trc trc); |