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/options.rst | 7 ------- 1 file changed, 7 deletions(-) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 080bf73582..0be1242063 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4634,13 +4634,6 @@ The following video options are currently all specific to ``--vo=opengl`` and The user should independently guarantee this before using these signal formats for display. -``--target-brightness=<1..100000>`` - Specifies the display's approximate brightness in cd/m^2. When playing HDR - content on a SDR display (or SDR content on an HDR display), video colors - will be tone mapped to this target brightness using the algorithm specified - by ``--hdr-tone-mapping``. The default of 250 cd/m^2 corresponds to a - typical consumer display. - ``--hdr-tone-mapping=`` Specifies the algorithm used for tone-mapping HDR images onto the target display. Valid values are: -- cgit v1.2.3