ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Sep 17 19:06:36 
2016 +0200| [22bdba7a93ba23a8d61c84676b5c5b75fdc5b860] | committer: Paul B Mahol

doc/filters: add two lut2 examples

Signed-off-by: Paul B Mahol <one...@gmail.com>

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

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

diff --git a/doc/filters.texi b/doc/filters.texi
index a6f3674..070e57d 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -9362,6 +9362,22 @@ The second input video bit depth.
 
 All expressions default to "x".
 
+@subsection Examples
+
+@itemize
+@item
+Highlight differences between two RGB video streams:
+@example
+lut2='ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,0,pow(2,bdx)-1)'
+@end example
+
+@item
+Highlight differences between two YUV video streams:
+@example
+lut2='ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,pow(2,bdx-1),pow(2,bdx)-1):ifnot(x-y,pow(2,bdx-1),pow(2,bdx)-1)'
+@end example
+@end itemize
+
 @section maskedclamp
 
 Clamp the first input stream with the second input and third input stream.

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to