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/vf.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'DOCS/man/vf.rst') diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index c7f4c84d0a..90488d2429 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -367,13 +367,14 @@ Available mpv-only filters are: :std-b67: ARIB STD-B67 (Hybrid Log-gamma) curve :v-log: Panasonic V-Log transfer curve - ```` - Reference peak illumination for the video file. This is mostly - interesting for HDR, but it can also be used tone map SDR content - to a darker or brighter exposure. - - The default of 0.0 will default to the display's reference brightness - for SDR and the source's reference brightness for HDR. + ```` + Reference peak illumination for the video file, relative to the + signal's reference white level. This is mostly interesting for HDR, but + it can also be used tone map SDR content to simulate a different + exposure. Normally inferred from tags such as MaxCLL or mastering + metadata. + + The default of 0.0 will default to the source's nominal peak luminance. ```` Set the stereo mode the video is assumed to be encoded in. Takes the -- cgit v1.2.3