diff options
author | Niklas Haas <git@haasn.xyz> | 2018-02-14 16:10:51 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-02-20 22:02:51 +0200 |
commit | 441e384390f1cd1b1b1c159cb797429432a09493 (patch) | |
tree | 1c6cefb9d64c3298a461723da0fc4f148fe10deb /video/out/gpu/video.h | |
parent | 1f881eca656127d5235d44acf1562091864e07c7 (diff) | |
download | mpv-441e384390f1cd1b1b1c159cb797429432a09493.tar.bz2 mpv-441e384390f1cd1b1b1c159cb797429432a09493.tar.xz |
vo_gpu: introduce --target-peak
This solves a number of problems simultaneously:
1. When outputting HLG, this allows tuning the OOTF based on the display
characteristics.
2. When outputting PQ or other HDR curves, this allows soft-limiting the
output brightness using the tone mapping algorithm.
3. When outputting SDR, this allows HDR-in-SDR style output, by
controlling the output brightness directly.
Closes #5521
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r-- | video/out/gpu/video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h index 80f31c2934..f385661e47 100644 --- a/video/out/gpu/video.h +++ b/video/out/gpu/video.h @@ -106,7 +106,7 @@ struct gl_video_opts { int gamma_auto; int target_prim; int target_trc; - int target_brightness; + int target_peak; int tone_mapping; int compute_hdr_peak; float tone_mapping_param; |