Commit 0c7f9f71 authored by leozhang's avatar leozhang Committed by Michael Niedermayer

avfilter/vf_yaepblur: add yaepblur filter

Signed-off-by: 's avatarleozhang <leozhang@qiyi.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 039a0ebe
......@@ -19918,6 +19918,28 @@ Only deinterlace frames marked as interlaced.
The default value is @code{all}.
@end table
@section yaepblur
Apply blur filter while preserving edges ("yaepblur" means "yet another edge preserving blur filter").
The algorithm is described in
"J. S. Lee, Digital image enhancement and noise filtering by use of local statistics, IEEE Trans. Pattern Anal. Mach. Intell. PAMI-2, 1980."
It accepts the following parameters:
@table @option
@item radius, r
Set the window radius. Default value is 3.
@item planes, p
Set which planes to filter. Default is only the first plane.
@item sigma, s
Set blur strength. Default value is 128.
@end table
@subsection Commands
This filter supports same @ref{commands} as options.
@section zoompan
Apply Zoom & Pan effect.
......
......@@ -443,6 +443,7 @@ OBJS-$(CONFIG_XSTACK_FILTER) += vf_stack.o framesync.o
OBJS-$(CONFIG_YADIF_FILTER) += vf_yadif.o yadif_common.o
OBJS-$(CONFIG_YADIF_CUDA_FILTER) += vf_yadif_cuda.o vf_yadif_cuda.ptx.o \
yadif_common.o
OBJS-$(CONFIG_YAEPBLUR_FILTER) += vf_yaepblur.o
OBJS-$(CONFIG_ZMQ_FILTER) += f_zmq.o
OBJS-$(CONFIG_ZOOMPAN_FILTER) += vf_zoompan.o
OBJS-$(CONFIG_ZSCALE_FILTER) += vf_zscale.o
......
......@@ -421,6 +421,7 @@ extern AVFilter ff_vf_xmedian;
extern AVFilter ff_vf_xstack;
extern AVFilter ff_vf_yadif;
extern AVFilter ff_vf_yadif_cuda;
extern AVFilter ff_vf_yaepblur;
extern AVFilter ff_vf_zmq;
extern AVFilter ff_vf_zoompan;
extern AVFilter ff_vf_zscale;
......
......@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 67
#define LIBAVFILTER_VERSION_MINOR 68
#define LIBAVFILTER_VERSION_MICRO 100
......
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