From 691a7df3c5b7a9d6b83540720e41081f7137f14b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 25 Sep 2015 22:46:38 +0200 Subject: avfilter: add maskedmerge filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 0fdb677124..a5906d6ccb 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -7625,6 +7625,25 @@ lutyuv=y='bitand(val, 128+64+32)' @end example @end itemize +@section maskedmerge + +Merge the first input stream with the second input stream using per pixel +weights in the third input stream. + +A value of 0 in the third stream pixel component means that pixel component +from first stream is returned unchanged, while maximum value (eg. 255 for +8-bit videos) means that pixel component from second stream is returned +unchanged. Intermediate values define the amount of merging between both +input stream's pixel components. + +This filter accepts the following options: +@table @option +@item planes +Set which planes will be processed as bitmap, unprocessed planes will be +copied from first stream. +By default value 0xf, all planes will be processed. +@end table + @section mergeplanes Merge color channel components from several video streams. -- cgit v1.2.3