ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Sat Mar  7 
23:22:34 2015 +0100| [8fabbd0dcf3ac91bfced555fdf4819f500b6a88e] | committer: 
Michael Niedermayer

doc/filters: Add some random examples for fftfilt

Reviewed-by: Timothy Gu <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8fabbd0dcf3ac91bfced555fdf4819f500b6a88e
---

 doc/filters.texi |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index b15087c..b0ea2ca 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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to