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

Moritz Barsnick barsnick at gmx.net
Wed Dec 27 01:22:47 EET 2017


On Mon, Dec 25, 2017 at 21:38:41 +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  doc/filters.texi          | 22 +++++++++++
>  libavfilter/Makefile      |  1 +
>  libavfilter/allfilters.c  |  1 +
>  libavfilter/vf_convolve.c | 99 ++++++++++++++++++++++++++++++++++++++++++-----
>  4 files changed, 113 insertions(+), 10 deletions(-)
[...]
>  OBJS-$(CONFIG_DECIMATE_FILTER)               += vf_decimate.o
> +OBJS-$(CONFIG_DECONVOLVE_FILTER)             += vf_convolve.o framesync.o
>  OBJS-$(CONFIG_DEFLATE_FILTER)                += vf_neighbor.o
[...]
> +AVFilter ff_vf_deconvolve = {
> +    .name          = "deconvolve",

Style question: Do separate filters within one source file not need to
be #ifdef'd with
#if CONFIG_CONVOLVE_FILTER,
#if CONFIG_DECONVOLVE_FILTER
?

Cheers,
Moritz


More information about the ffmpeg-devel mailing list