summaryrefslogtreecommitdiff
path: root/libavfilter/gradfun.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-18 22:10:32 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-19 03:13:26 +0100
commit526e2415bd1e7e3f1f601ca2eb5e94513a830c9a (patch)
treed66350f9fed7b618c335179c613d145d4d1a40a9 /libavfilter/gradfun.h
parentca83e6ce266b5cb6760ed607d115c3547e06d71b (diff)
downloadffmpeg-526e2415bd1e7e3f1f601ca2eb5e94513a830c9a.tar.gz
lavfi/gradfun: support named options.
This breaks usage for out-of-range values.
Diffstat (limited to 'libavfilter/gradfun.h')
-rw-r--r--libavfilter/gradfun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/gradfun.h b/libavfilter/gradfun.h
index 939b129aaa..801ddddb96 100644
--- a/libavfilter/gradfun.h
+++ b/libavfilter/gradfun.h
@@ -26,6 +26,8 @@
/// Holds instance-specific information for gradfun.
typedef struct GradFunContext {
+ const AVClass *class;
+ double strength; ///< user specified strength, used to define thresh
int thresh; ///< threshold for gradient algorithm
int radius; ///< blur radius
int chroma_w; ///< width of the chroma planes