summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-07-31 14:07:27 +0200
committerPaul B Mahol <onemda@gmail.com>2017-07-31 14:07:27 +0200
commitb664d1f3ffbce07c206d679cc09a1fd29955de44 (patch)
treed22293ee58e9645e3c226884c437d409c6af5a16
parent797c232ef84d3886a25270cef8b630caf5a491cc (diff)
downloadffmpeg-streaming-b664d1f3ffbce07c206d679cc09a1fd29955de44.zip
ffmpeg-streaming-b664d1f3ffbce07c206d679cc09a1fd29955de44.tar.gz
doc/filters.texi: add another lut2 example
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 2324b96..4089135 100644
--- 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
OpenPOWER on IntegriCloud