summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-06-19 12:59:51 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2023-06-21 23:52:35 +0200
commitf1600ea9cf1664a094983cf75d63dc6ea09fe1b6 (patch)
treec8e61650654fd592894545b981cc9acb5e2b68d8 /video/out/gpu/video.h
parent594458838ecf2229797e10266915e0f33c95d4fd (diff)
downloadmpv-f1600ea9cf1664a094983cf75d63dc6ea09fe1b6.tar.bz2
mpv-f1600ea9cf1664a094983cf75d63dc6ea09fe1b6.tar.xz
vo_gpu_next: add missing --gamut-mapping-mode options
Adds the missing upstream values that were exposed by the new gamut mapping API.
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r--video/out/gpu/video.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h
index 5952998fa5..de70a8f801 100644
--- a/video/out/gpu/video.h
+++ b/video/out/gpu/video.h
@@ -113,9 +113,14 @@ enum tone_mapping_mode {
enum gamut_mode {
GAMUT_AUTO,
GAMUT_CLIP,
- GAMUT_WARN,
+ GAMUT_PERCEPTUAL,
+ GAMUT_RELATIVE,
+ GAMUT_SATURATION,
+ GAMUT_ABSOLUTE,
GAMUT_DESATURATE,
GAMUT_DARKEN,
+ GAMUT_WARN,
+ GAMUT_LINEAR,
};
struct gl_tone_map_opts {