diff options
author | Niklas Haas <git@haasn.dev> | 2023-06-19 12:59:51 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-06-21 23:52:35 +0200 |
commit | f1600ea9cf1664a094983cf75d63dc6ea09fe1b6 (patch) | |
tree | c8e61650654fd592894545b981cc9acb5e2b68d8 /video/out/gpu/video.c | |
parent | 594458838ecf2229797e10266915e0f33c95d4fd (diff) | |
download | mpv-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.c')
-rw-r--r-- | video/out/gpu/video.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index b957f71258..4ca5428098 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -400,9 +400,14 @@ const struct m_sub_options gl_video_conf = { {"gamut-mapping-mode", OPT_CHOICE(tone_map.gamut_mode, {"auto", GAMUT_AUTO}, {"clip", GAMUT_CLIP}, - {"warn", GAMUT_WARN}, + {"perceptual", GAMUT_PERCEPTUAL}, + {"relative", GAMUT_RELATIVE}, + {"saturation", GAMUT_SATURATION}, + {"absolute", GAMUT_ABSOLUTE}, {"desaturate", GAMUT_DESATURATE}, - {"darken", GAMUT_DARKEN})}, + {"darken", GAMUT_DARKEN}, + {"warn", GAMUT_WARN}, + {"linear", GAMUT_LINEAR})}, {"hdr-compute-peak", OPT_CHOICE(tone_map.compute_peak, {"auto", 0}, {"yes", 1}, |