[FFmpeg-cvslog] doc/filters: Change rdiv (vf_convolution) documentation to reflect actual behavior

Stone Chen git at videolan.org
Sat Mar 16 23:09:36 EET 2024


ffmpeg | branch: master | Stone Chen <chen.stonechen at gmail.com> | Thu Mar 14 12:47:45 2024 -0400| [de2fb43e785773738c660cdafb9309b1ef1bc80d] | committer: Marton Balint

doc/filters: Change rdiv (vf_convolution) documentation to reflect actual behavior

The documentation correctly states that the rdiv is a multiplier but incorrectly states the default behavior is to multiply by the sum of all matrix elements - it multiplies by 1/sum.

This changes the documentation to match the code.

Address trac #10889

Signed-off-by: Marton Balint <cus at passwd.hu>

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

 doc/filters.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index e0436a5755..913365671d 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10497,7 +10497,7 @@ and from 1 to 49 odd number of signed integers in @var{row} mode.
 @item 2rdiv
 @item 3rdiv
 Set multiplier for calculated value for each plane.
-If unset or 0, it will be sum of all matrix elements.
+If unset or 0, it will be 1/sum of all matrix elements.
 
 @item 0bias
 @item 1bias



More information about the ffmpeg-cvslog mailing list