Commit 22bdba7a authored by Paul B Mahol's avatar Paul B Mahol

doc/filters: add two lut2 examples

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 38c3fc94
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment