From c335e84230916d7d7a38288031516e8b2ec1c36b Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 10 Jun 2017 14:01:25 +0200 Subject: video: refactor HDR implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List of changes: 1. Kill nom_peak, since it's a pointless non-field that stores nothing of value and is _always_ derived from ref_white anyway. 2. Kill ref_white/--target-brightness, because the only case it really existed for (PQ) actually doesn't need to be this general: According to ITU-R BT.2100, PQ *always* assumes a reference monitor with a white point of 100 cd/m². 3. Improve documentation and comments surrounding this stuff. 4. Clean up some of the code in general. Move stuff where it belongs. --- DOCS/man/input.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index ed3dc2311f..e0e9cf28fd 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1456,9 +1456,6 @@ Property list ``video-params/gamma`` The gamma function in use as string. (Exact values subject to change.) - ``video-params/nom-peak`` - The video encoding's nominal peak brightness as float. - ``video-params/sig-peak`` The video file's tagged signal peak as float. @@ -1489,7 +1486,6 @@ Property list "colorlevels" MPV_FORMAT_STRING "primaries" MPV_FORMAT_STRING "gamma" MPV_FORMAT_STRING - "nom-peak" MPV_FORMAT_DOUBLE "sig-peak" MPV_FORMAT_DOUBLE "chroma-location" MPV_FORMAT_STRING "rotate" MPV_FORMAT_INT64 -- cgit v1.2.3