summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJérémy Tran <tran.jeremy.av@gmail.com>2012-08-28 18:41:06 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-08-28 19:48:16 +0200
commit316afee708047a04af0192cd0555dec5a9821050 (patch)
tree3bb872e819491eb73ac9714bc03da7f7b9249913 /doc
parent18217bb0f5fb4ad9d93ea02edab078111cd83910 (diff)
lavfi: add smartblur filter
This is a port of the MPlayer smartblur filter (libmpcodecs/vf_smartblur.c) by Michael Niedermayer. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index bef95f763e..562ed178db 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3253,6 +3253,35 @@ not specified it will use the default value of 16.
Adding this in the beginning of filter chains should make filtering
faster due to better use of the memory cache.
+@section smartblur
+
+Blur the input video without impacting the outlines.
+
+The filter accepts the following parameters:
+@var{luma_radius}:@var{luma_strength}:@var{luma_threshold}[:@var{chroma_radius}:@var{chroma_strength}:@var{chroma_threshold}]
+
+Parameters prefixed by @var{luma} indicate that they work on the
+luminance of the pixels whereas parameters prefixed by @var{chroma}
+refer to the chrominance of the pixels.
+
+If the chroma parameters are not set, the luma parameters are used for
+either the luminance and the chrominance of the pixels.
+
+@var{luma_radius} or @var{chroma_radius} must be a float number in the
+range [0.1,5.0] that specifies the variance of the gaussian filter
+used to blur the image (slower if larger).
+
+@var{luma_strength} or @var{chroma_strength} must be a float number in
+the range [-1.0,1.0] that configures the blurring. A value included in
+[0.0,1.0] will blur the image whereas a value included in [-1.0,0.0]
+will sharpen the image.
+
+@var{luma_threshold} or @var{chroma_threshold} must be an integer in
+the range [-30,30] that is used as a coefficient to determine whether
+a pixel should be blurred or not. A value of 0 will filter all the
+image, a value included in [0,30] will filter flat areas and a value
+included in [-30,0] will filter edges.
+
@section split
Split input video into several identical outputs.