[FFmpeg-devel] [PATCH] avfilter: add convolution filter

Lou Logan lou at lrcd.com
Tue Aug 4 02:28:24 CEST 2015


On Sun,  2 Aug 2015 17:35:59 +0200, Paul B Mahol wrote:

[...]

> + at item 0rdiv
> + at item 1rdiv
> + at item 2rdiv
> + at item 3rdiv
> +Set multiplicator for calculated value for each plane.

"Default is 1.0."

Can you use the word "multiplier" instead?

Mentioning range would be helpful, if possible.

> + at item 0bias
> + at item 1bias
> + at item 2bias
> + at item 3bias
> +Set bias for each plane. This value is added to result of above multiplication.

"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."

> + at end table
> +
> + at subsection Examples
> +
> + at itemize
> + at item
> +Apply sharpen:
> + at example
> +convolution="0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0"
> + at end example

How about some presets like the curves filter?

Rest of the docs looks good to me.


More information about the ffmpeg-devel mailing list