diff options
author | Niklas Haas <git@haasn.dev> | 2023-09-20 18:30:23 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-09-20 20:26:07 +0200 |
commit | 2fd5b9b4dda14c858f24548801da587dea747cac (patch) | |
tree | 4de906fb5994b20ca1693159ba1947bf0f57a828 /video/out/gpu/video_shaders.c | |
parent | e7bd330ed073afe973dc9bdae669ac4a4a0017f2 (diff) | |
download | mpv-2fd5b9b4dda14c858f24548801da587dea747cac.tar.bz2 mpv-2fd5b9b4dda14c858f24548801da587dea747cac.tar.xz |
vo_gpu: match libplacebo debanding defaults
The defaults were awful and horribly regressed many files while also not
fixing banding on files that actually needed it, sometimes even
*increasing* banding due to the low threshold.
Fixes: 12ffce0f224056f91a20c9f0b197f4973931efbe
See-Also: haasn/libplacebo@e1e43376d16d5112ee1254534664b0b85110139b
Diffstat (limited to 'video/out/gpu/video_shaders.c')
-rw-r--r-- | video/out/gpu/video_shaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gpu/video_shaders.c b/video/out/gpu/video_shaders.c index 1957797692..1a6aa28f3e 100644 --- a/video/out/gpu/video_shaders.c +++ b/video/out/gpu/video_shaders.c @@ -942,9 +942,9 @@ static void prng_init(struct gl_shader_cache *sc, AVLFG *lfg) const struct deband_opts deband_opts_def = { .iterations = 1, - .threshold = 32.0, + .threshold = 48.0, .range = 16.0, - .grain = 48.0, + .grain = 32.0, }; #define OPT_BASE_STRUCT struct deband_opts |