Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-09-17 20:06:36 +0300
committerPaul B Mahol <onemda@gmail.com>2016-09-17 20:16:18 +0300
commit22bdba7a93ba23a8d61c84676b5c5b75fdc5b860 (patch)
tree3ea239f1f25eaeb955b0ab8bf6687d40eac03ea9 /doc
parent38c3fc9404478602045f344d961e0e620c65f531 (diff)
doc/filters: add two lut2 examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a6f36749b9..070e57d40f 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.