diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-09-17 19:06:36 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-09-17 19:16:18 +0200 |
commit | 22bdba7a93ba23a8d61c84676b5c5b75fdc5b860 (patch) | |
tree | 3ea239f1f25eaeb955b0ab8bf6687d40eac03ea9 | |
parent | 38c3fc9404478602045f344d961e0e620c65f531 (diff) | |
download | ffmpeg-22bdba7a93ba23a8d61c84676b5c5b75fdc5b860.tar.gz |
doc/filters: add two lut2 examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | doc/filters.texi | 16 |
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. |