From 7ed833d78ea661d619124fd898547a900f6480bc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 25 Feb 2013 21:21:29 +0100 Subject: vf_gradfun: switch to an AVOptions-based system. --- doc/filters.texi | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'doc/filters.texi') diff --git a/doc/filters.texi b/doc/filters.texi index 51f7833216..f4f5cf5a27 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1174,23 +1174,27 @@ 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} +This filter accepts the following options: + +@table @option -@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. +@item strength +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. -@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. +@item radius +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. + +@end table @example # default parameters -gradfun=1.2:16 +gradfun=strength=1.2:radius=16 # omitting radius gradfun=1.2 -- cgit v1.2.3