1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-23 00:06:56 +00:00
mpv/video/out/gpu
Niklas Haas c2d4fd0ef4 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.
2017-10-25 17:24:27 +02:00
..
context.c vo_gpu: semi-fix --gpu-context/--gpu-api options and help output 2017-10-16 10:57:51 +02:00
context.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
hwdec.c Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
hwdec.h
lcms.c
lcms.h
osd.c vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
osd.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
ra.c
ra.h vo_gpu: vulkan: add support for push constants 2017-09-26 17:25:35 +02:00
shader_cache.c vo_gpu: force layout std430 for PCs 2017-09-29 00:41:50 +02:00
shader_cache.h vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
spirv_shaderc.c vo_gpu: shaderc: include debug info when --gpu-debug is set 2017-10-11 12:22:21 +11:00
spirv.c vo_gpu: fix memleak in spirv.c 2017-09-26 17:32:36 +02:00
spirv.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
user_shaders.c
user_shaders.h vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
utils.c vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
utils.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
video_shaders.c vo_gpu: change --tone-mapping-desaturate algorithm 2017-10-25 17:24:27 +02:00
video_shaders.h
video.c vo_gpu: change --tone-mapping-desaturate algorithm 2017-10-25 17:24:27 +02:00
video.h vo_gpu: fix video sometimes not being rerendered on equalizer change 2017-10-17 09:07:35 +02:00