Commit 424f0f9e authored by Paul B Mahol's avatar Paul B Mahol

avfilter: add avgblur filter

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent f574012d
...@@ -26,6 +26,7 @@ version <next>: ...@@ -26,6 +26,7 @@ version <next>:
- added threads option per filter instance - added threads option per filter instance
- weave filter - weave filter
- gblur filter - gblur filter
- avgblur filter
version 3.1: version 3.1:
......
...@@ -4402,6 +4402,24 @@ number in range [5, 129]. ...@@ -4402,6 +4402,24 @@ number in range [5, 129].
Set what planes of frame filter will use for averaging. Default is all. Set what planes of frame filter will use for averaging. Default is all.
@end table @end table
@section avgblur
Apply average blur filter.
The filter accepts the following options:
@table @option
@item sizeX
Set horizontal kernel size.
@item planes
Set which planes to filter. By default all planes are filtered.
@item sizeY
Set vertical kernel size, if zero it will be same as @code{sizeX}.
Default is @code{0}.
@end table
@section bbox @section bbox
Compute the bounding box for the non-black pixels in the input frame Compute the bounding box for the non-black pixels in the input frame
......
...@@ -124,6 +124,7 @@ OBJS-$(CONFIG_ALPHAEXTRACT_FILTER) += vf_extractplanes.o ...@@ -124,6 +124,7 @@ OBJS-$(CONFIG_ALPHAEXTRACT_FILTER) += vf_extractplanes.o
OBJS-$(CONFIG_ALPHAMERGE_FILTER) += vf_alphamerge.o OBJS-$(CONFIG_ALPHAMERGE_FILTER) += vf_alphamerge.o
OBJS-$(CONFIG_ASS_FILTER) += vf_subtitles.o OBJS-$(CONFIG_ASS_FILTER) += vf_subtitles.o
OBJS-$(CONFIG_ATADENOISE_FILTER) += vf_atadenoise.o OBJS-$(CONFIG_ATADENOISE_FILTER) += vf_atadenoise.o
OBJS-$(CONFIG_AVGBLUR_FILTER) += vf_avgblur.o
OBJS-$(CONFIG_BBOX_FILTER) += bbox.o vf_bbox.o OBJS-$(CONFIG_BBOX_FILTER) += bbox.o vf_bbox.o
OBJS-$(CONFIG_BENCH_FILTER) += f_bench.o OBJS-$(CONFIG_BENCH_FILTER) += f_bench.o
OBJS-$(CONFIG_BITPLANENOISE_FILTER) += vf_bitplanenoise.o OBJS-$(CONFIG_BITPLANENOISE_FILTER) += vf_bitplanenoise.o
......
...@@ -141,6 +141,7 @@ void avfilter_register_all(void) ...@@ -141,6 +141,7 @@ void avfilter_register_all(void)
REGISTER_FILTER(ALPHAMERGE, alphamerge, vf); REGISTER_FILTER(ALPHAMERGE, alphamerge, vf);
REGISTER_FILTER(ASS, ass, vf); REGISTER_FILTER(ASS, ass, vf);
REGISTER_FILTER(ATADENOISE, atadenoise, vf); REGISTER_FILTER(ATADENOISE, atadenoise, vf);
REGISTER_FILTER(AVGBLUR, avgblur, vf);
REGISTER_FILTER(BBOX, bbox, vf); REGISTER_FILTER(BBOX, bbox, vf);
REGISTER_FILTER(BENCH, bench, vf); REGISTER_FILTER(BENCH, bench, vf);
REGISTER_FILTER(BITPLANENOISE, bitplanenoise, vf); REGISTER_FILTER(BITPLANENOISE, bitplanenoise, vf);
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "libavutil/version.h" #include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 6 #define LIBAVFILTER_VERSION_MAJOR 6
#define LIBAVFILTER_VERSION_MINOR 60 #define LIBAVFILTER_VERSION_MINOR 61
#define LIBAVFILTER_VERSION_MICRO 100 #define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment