From 3a96534ed9dd09c773894e6ed4bb882a765d83a9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 3 May 2018 10:55:10 +0200 Subject: avfilter/vf_convolution: add horizontal/row mode Signed-off-by: Paul B Mahol --- doc/filters.texi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 1b817f374b..218f30ef5f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -6408,7 +6408,7 @@ colorspace=smpte240m @section convolution -Apply convolution 3x3, 5x5 or 7x7 filter. +Apply convolution of 3x3, 5x5, 7x7 or horizontal up to 49 elements. The filter accepts the following options: @@ -6418,7 +6418,8 @@ The filter accepts the following options: @item 2m @item 3m Set matrix for each plane. -Matrix is sequence of 9, 25 or 49 signed integers. +Matrix is sequence of 9, 25 or 49 signed integers in @var{square} mode, +and from 1 to 49 odd number of signed integers in @var{row} mode. @item 0rdiv @item 1rdiv @@ -6433,6 +6434,13 @@ If unset or 0, it will be sum of all matrix elements. @item 3bias Set bias for each plane. This value is added to the result of the multiplication. Useful for making the overall image brighter or darker. Default is 0.0. + +@item 0mode +@item 1mode +@item 2mode +@item 3mode +Set matrix mode for each plane. Can be @var{square} or @var{row}. +Default is @var{square}. @end table @subsection Examples -- cgit v1.2.3