summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r--video/out/gpu/video.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h
index 13285bfce1..adeadaba65 100644
--- a/video/out/gpu/video.h
+++ b/video/out/gpu/video.h
@@ -100,6 +100,14 @@ enum tone_mapping {
TONE_MAPPING_BT_2446A,
};
+enum gamut_mode {
+ GAMUT_AUTO,
+ GAMUT_CLIP,
+ GAMUT_WARN,
+ GAMUT_DESATURATE,
+ GAMUT_DARKEN,
+};
+
struct gl_tone_map_opts {
int curve;
float curve_param;
@@ -112,8 +120,7 @@ struct gl_tone_map_opts {
float scene_threshold_high;
float desat;
float desat_exp;
- int gamut_warning; // bool
- int gamut_clipping; // bool
+ int gamut_mode;
};
struct gl_video_opts {