summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-07 23:22:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-08 15:02:49 +0100
commit8fabbd0dcf3ac91bfced555fdf4819f500b6a88e (patch)
tree10d4abc7ba47ac0db312c9158758e096585d804a /doc
parent0b69c53a610af9cc9d4690929e009594f096e846 (diff)
doc/filters: Add some random examples for fftfilt
Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index b15087c0e1..b0ea2ca2ca 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4629,6 +4629,29 @@ The coordinates of the current sample.
The width and height of the image.
@end table
+@subsection Examples
+
+@itemize
+@item
+High-pass:
+@example
+fftfilt=dc_Y=128:weight_Y='squish(1-(Y+X)/100)'
+@end example
+
+@item
+Low-pass:
+@example
+fftfilt=dc_Y=0:weight_Y='squish((Y+X)/100-1)'
+@end example
+
+@item
+Sharpen:
+@example
+fftfilt=dc_Y=0:weight_Y='1+squish(1-(Y+X)/100)'
+@end example
+
+@end itemize
+
@section field
Extract a single field from an interlaced image using stride