summaryrefslogtreecommitdiffstats
path: root/video/out/filter_kernels.h
diff options
context:
space:
mode:
authorBin Jin <bjin1990@gmail.com>2014-08-26 00:41:30 +0200
committerwm4 <wm4@nowhere>2014-08-26 22:19:30 +0200
commitb3e788d3f462e4f8acaf4ea9bf0cb07f8d622c7c (patch)
tree90a3dd2782cf3b9e772f9cb6e6fa98d65c7f5989 /video/out/filter_kernels.h
parentf14722a40f46366e4333881ec5d540bca1400280 (diff)
downloadmpv-b3e788d3f462e4f8acaf4ea9bf0cb07f8d622c7c.tar.bz2
mpv-b3e788d3f462e4f8acaf4ea9bf0cb07f8d622c7c.tar.xz
vo_opengl: add radius options for filters
Add two new options, make it possible for user to set the radius for some of the filters with no fixed radius. Also add three new filters with the new radius parameter supported.
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r--video/out/filter_kernels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h
index 46a392c40a..f9a413b9f7 100644
--- a/video/out/filter_kernels.h
+++ b/video/out/filter_kernels.h
@@ -23,7 +23,7 @@
struct filter_kernel {
const char *name;
- double radius;
+ double radius; // A negative value will use user specified radius instead.
double (*weight)(struct filter_kernel *kernel, double x);
// The filter params can be changed at runtime. Only used by some filters.