diff options
author | Niklas Haas <git@haasn.xyz> | 2016-10-26 16:32:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-01 16:25:40 +0100 |
commit | 654721c27bc0b2ca5fe27a5932b42332c1674547 (patch) | |
tree | f44c259f491a145ff594978ac7b9fe4bc951df84 /video/out/filter_kernels.h | |
parent | 58383229756a8871fb312c0897914e45e5824fc1 (diff) | |
download | mpv-654721c27bc0b2ca5fe27a5932b42332c1674547.tar.bz2 mpv-654721c27bc0b2ca5fe27a5932b42332c1674547.tar.xz |
filter_kernels: add ability to taper kernels/windows
This allows us to define the tukey window (and other tapered windows).
Also add a missing option definition for `wblur` while we're at it, to
make testing out window-related stuff easier.
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r-- | video/out/filter_kernels.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h index 2354ef4d0c..fc90a1cdde 100644 --- a/video/out/filter_kernels.h +++ b/video/out/filter_kernels.h @@ -22,6 +22,7 @@ struct filter_window { double params[2]; // User-defined custom filter parameters. Not used by // all filters double blur; // Blur coefficient (sharpens or widens the filter) + double taper; // Taper coefficient (flattens the filter's center) }; struct filter_kernel { |