summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-05-29 21:39:05 +0200
committerNiklas Haas <git@haasn.xyz>2020-06-15 01:24:09 +0200
commitc9f6c458ea54f595127684a3bcd94f578ec42b1f (patch)
tree12a145ef85a83821926af0e9e18a67a9be5413d1 /video/out/gpu/video.h
parentef6bc8504a945eb6492b8ed46fd5a1afaaf32182 (diff)
downloadmpv-c9f6c458ea54f595127684a3bcd94f578ec42b1f.tar.bz2
mpv-c9f6c458ea54f595127684a3bcd94f578ec42b1f.tar.xz
vo_gpu: add BT.2390 tone-mapping
Implementation copy/pasted from: https://code.videolan.org/videolan/libplacebo/-/commit/f793fc0480f This brings mpv's tone mapping more in line with industry standard practices, for a hopefully more consistent result across the board. Note that we ignore the black point adjustment of the tone mapping entirely. In theory we could revisit this, if we ever make black point compensation part of the mpv rendering pipeline.
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r--video/out/gpu/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h
index 4c079d463c..4e442a5e6d 100644
--- a/video/out/gpu/video.h
+++ b/video/out/gpu/video.h
@@ -94,6 +94,7 @@ enum tone_mapping {
TONE_MAPPING_HABLE,
TONE_MAPPING_GAMMA,
TONE_MAPPING_LINEAR,
+ TONE_MAPPING_BT_2390,
};
struct gl_tone_map_opts {