[FFmpeg-cvslog] doc/filters.texi: add another lut2 example

Paul B Mahol git at videolan.org
Mon Jul 31 15:08:54 EEST 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jul 31 14:07:27 2017 +0200| [b664d1f3ffbce07c206d679cc09a1fd29955de44] | committer: Paul B Mahol

doc/filters.texi: add another lut2 example

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b664d1f3ffbce07c206d679cc09a1fd29955de44
---

 doc/filters.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 2324b96867..4089135807 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
+
+ at item
+Show max difference between two video streams:
+ at 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)))'
+ at end example
 @end itemize
 
 @section maskedclamp



More information about the ffmpeg-cvslog mailing list