summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r--video/out/opengl/video.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h
index 5d8c938535..01c0cca78b 100644
--- a/video/out/opengl/video.h
+++ b/video/out/opengl/video.h
@@ -103,6 +103,13 @@ enum prescalers {
PRESCALE_NNEDI3,
};
+enum tone_mapping {
+ TONE_MAPPING_CLIP,
+ TONE_MAPPING_SIMPLE,
+ TONE_MAPPING_GAMMA,
+ TONE_MAPPING_LINEAR,
+};
+
struct gl_video_opts {
int dumb_mode;
struct scaler_config scaler[4];
@@ -112,6 +119,8 @@ struct gl_video_opts {
int target_prim;
int target_trc;
int target_brightness;
+ int hdr_tone_mapping;
+ float tone_mapping_param;
int linear_scaling;
int correct_downscaling;
int sigmoid_upscaling;