summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-08-03 12:46:57 +0200
committerNiklas Haas <git@haasn.xyz>2017-08-03 12:46:57 +0200
commit5e1e7d32e83861981b777faeb9f764c163b46c68 (patch)
treecca785ad92efda33d7de4e01a9242173e055edd8 /DOCS/interface-changes.rst
parent6074cfdfd4b461c7991c9d16e57a6d1b63751c72 (diff)
downloadmpv-5e1e7d32e83861981b777faeb9f764c163b46c68.tar.bz2
mpv-5e1e7d32e83861981b777faeb9f764c163b46c68.tar.xz
vo_opengl: generalize HDR tone mapping to gamut mapping
Since this code was already written for HDR, and is now per-channel (because it works better for HDR as well), we can actually reuse this to get very high quality gamut mapping without clipping. The only required change is to move the tone mapping from before the gamut map to after the gamut map. Additonally, we need to also account for changes in the signal range as a result of applying the CMS when we compute ref_peak, which is fortunately pretty easy because we only need to consider the case of primaries mapping to themselves. Since `HDR` no longer really makes sense as a label, rename it to `--tone-mapping` in general. Also fits better with `--tone-mapping-desat` etc. Arguably we could also rename `--hdr-compute-peak`, but that option is basically only useful for HDR content anyway because we don't need information about the signal range for gamut mapping. This (finally!) gives us reasonably high quality gamut mapping even in the absence of an ICC profile / 3DLUT.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index a9a6664461..ea4545bdc3 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -26,6 +26,7 @@ Interface changes
"audio-file", "external-file" (these cases used to log a deprecation
warning)
- drop deprecated --video-aspect-method=hybrid option choice
+ - rename --hdr-tone-mapping to --tone-mapping (and generalize it)
--- mpv 0.26.0 ---
- remove remaining deprecated audio device options, like --alsa-device
Some of them were removed in earlier releases.