diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-08-01 11:32:22 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-08-02 11:13:49 +0200 |
commit | c79e7534712fa9e95a9ddde2c5e8c6815f5f2f6f (patch) | |
tree | aced780081cdc2941d23326ca970e8c7acf1e310 /doc | |
parent | 1193301758b8af2ccd05e0dba5c4320e1e0702ac (diff) | |
download | ffmpeg-c79e7534712fa9e95a9ddde2c5e8c6815f5f2f6f.tar.gz |
avfilter: add unpremultiply filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 4089135807..96abffbbdd 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -14532,6 +14532,25 @@ ffmpeg -i INPUT -vf trim=duration=1 @end itemize +@section unpremultiply +Apply alpha unpremultiply effect to input video stream using first plane +of second stream as alpha. + +Both streams must have same dimensions and same pixel format. + +The filter accepts the following option: + +@table @option +@item planes +Set which planes will be processed, unprocessed planes will be copied. +By default value 0xf, all planes will be processed. + +If the format has 1 or 2 components, then luma is bit 0. +If the format has 3 or 4 components: +for RGB formats bit 0 is green, bit 1 is blue and bit 2 is red; +for YUV formats bit 0 is luma, bit 1 is chroma-U and bit 2 is chroma-V. +If present, the alpha channel is always the last bit. +@end table @anchor{unsharp} @section unsharp |