[FFmpeg-cvslog] doc/filters: add two lut2 examples
Paul B Mahol
git at videolan.org
Sat Sep 17 20:18:54 EEST 2016
ffmpeg | branch: master | Paul B Mahol <onemda at 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 <onemda at 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".
+ at subsection Examples
+
+ at itemize
+ at item
+Highlight differences between two RGB video streams:
+ at 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)'
+ at end example
+
+ at item
+Highlight differences between two YUV video streams:
+ at 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)'
+ at end example
+ at end itemize
+
@section maskedclamp
Clamp the first input stream with the second input and third input stream.
More information about the ffmpeg-cvslog
mailing list