From c2d4fd0ef43e44c5c8caee13ae486ae05784c3a5 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 25 Oct 2017 17:05:52 +0200 Subject: vo_gpu: change --tone-mapping-desaturate algorithm Comparing mpv's implementation against the ACES ODR reference samples and algorithms, it seems like they're happy desaturating highlights _way_ more aggressively than mpv currently does. And indeed, looking at some example clips like The Redwoods (which is actually well-mastered), the current desaturation produces unnatural-looking brightness fringes where the sky meets the treeline. Adjust the algorithm to make it apply to a much larger, more gradual brightness region; and change the interpretation of the parameter. As a bonus, the new parameter is actually sanely scaled (higher values = more desaturation). Also, make it scale based on the signal level instead of the luminance, to avoid under-desaturating bright blues. --- DOCS/man/options.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6d1ff4df5a..5c4882883a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4896,14 +4896,15 @@ The following video options are currently all specific to ``--vo=gpu`` and some drivers, so enable at your own risk. ``--tone-mapping-desaturate=`` - Apply desaturation for highlights that exceed this level of brightness. The - higher the parameter, the more color information will be preserved. This - setting helps prevent unnaturally blown-out colors for super-highlights, by - (smoothly) turning into white instead. This makes images feel more natural, - at the cost of reducing information about out-of-range colors. - - The default of 2.0 is somewhat conservative and will mostly just apply to - skies or directly sunlit surfaces. A setting of 0.0 disables this option. + Apply desaturation for highlights. The parameter essentially controls the + steepness of the desaturation curve. The higher the parameter, the more + aggressively colors will be desaturated. This setting helps prevent + unnaturally blown-out colors for super-highlights, by (smoothly) turning + into white instead. This makes images feel more natural, at the cost of + reducing information about out-of-range colors. + + The default of 1.0 provides a good balance that roughly matches the look + and feel of the ACES ODT curves. A setting of 0.0 disables this option. ``--gamut-warning`` If enabled, mpv will mark all clipped/out-of-gamut pixels that exceed a -- cgit v1.2.3