Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-19 01:10:32 +0400
committerClément Bœsch <ubitux@gmail.com>2012-12-19 06:13:26 +0400
commit526e2415bd1e7e3f1f601ca2eb5e94513a830c9a (patch)
treed66350f9fed7b618c335179c613d145d4d1a40a9 /doc
parentca83e6ce266b5cb6760ed607d115c3547e06d71b (diff)
lavfi/gradfun: support named options.
This breaks usage for out-of-range values.
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 2f50d65bb8..6e9ebc75f2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2665,19 +2665,21 @@ This filter is designed for playback only. Do not use it prior to
lossy compression, because compression tends to lose the dither and
bring back the bands.
-The filter takes two optional parameters, separated by ':':
-@var{strength}:@var{radius}
+The filter accepts a list of options in the form of @var{key}=@var{value} pairs
+separated by ":". A description of the accepted options follows.
@var{strength} is the maximum amount by which the filter will change
any one pixel. Also the threshold for detecting nearly flat
regions. Acceptable values range from .51 to 64, default value is
-1.2, out-of-range values will be clipped to the valid range.
+1.2.
@var{radius} is the neighborhood to fit the gradient to. A larger
radius makes for smoother gradients, but also prevents the filter from
modifying the pixels near detailed regions. Acceptable values are
-8-32, default value is 16, out-of-range values will be clipped to the
-valid range.
+8-32, default value is 16.
+
+Alternatively, the options can be specified as a flat string:
+@var{strength}[:@var{radius}]
@example
# default parameters