projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
797c232
)
doc/filters.texi: add another lut2 example
author
Paul B Mahol
<onemda@gmail.com>
Mon, 31 Jul 2017 12:07:27 +0000
(14:07 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Mon, 31 Jul 2017 12:07:27 +0000
(14:07 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi
patch
|
blob
|
history
diff --git
a/doc/filters.texi
b/doc/filters.texi
index 2324b96867c23b32ef15986477a7c252d6db2112..40891358074785c3071071354acc2a1c1f09a018 100644
(file)
--- a/
doc/filters.texi
+++ b/
doc/filters.texi
@@
-10004,6
+10004,12
@@
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
+
+@item
+Show max difference between two video streams:
+@example
+lut2='if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1))):if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1))):if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1)))'
+@end example
@end itemize
@section maskedclamp