|author||Niklas Haas <email@example.com>||2017-10-25 17:05:52 +0200|
|committer||Niklas Haas <firstname.lastname@example.org>||2017-10-25 17:24:27 +0200|
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.
Diffstat (limited to 'DOCS')
1 files changed, 9 insertions, 8 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6d1ff4df5a..5c4882883a 100644
@@ -4896,14 +4896,15 @@ The following video options are currently all specific to ``--vo=gpu`` and
some drivers, so enable at your own risk.
- 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.
If enabled, mpv will mark all clipped/out-of-gamut pixels that exceed a