diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-12 19:08:58 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-12 19:08:58 +0200 |
commit | 18c74f7dfe9cbefe9de818caa00c3f77ce600f71 (patch) | |
tree | 2e73a2686a0fd1fadb7f45740c191741b1e4372c /video/out/filter_kernels.h | |
parent | e18656732995f235516f49a88bd0d6e0e7d3fc7e (diff) | |
download | mpv-18c74f7dfe9cbefe9de818caa00c3f77ce600f71.tar.bz2 mpv-18c74f7dfe9cbefe9de818caa00c3f77ce600f71.tar.xz |
vo_opengl: generalize --scale-clamp etc.
This can help fight ringing without completely killing it, thus
providing a middle-ground between ringing and aliasing.
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r-- | video/out/filter_kernels.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h index c9a89f6847..ac9b7fd39a 100644 --- a/video/out/filter_kernels.h +++ b/video/out/filter_kernels.h @@ -28,7 +28,7 @@ struct filter_window { struct filter_kernel { struct filter_window f; // the kernel itself struct filter_window w; // window storage - bool clamp; // clamp to the range [0-1] + double clamp; // clamping factor, affects negative weights double value_cutoff; // discard all contributions below this value (polar) // Constant values const char *window; // default window |