FFmpeg
|
Apply a boxblur filter to the input video. More...
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "boxblur.h"
Go to the source code of this file.
Data Structures | |
struct | BoxBlurContext |
Macros | |
#define | BLUR(type, depth) |
#define | OFFSET(x) offsetof(BoxBlurContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | blur (uint8_t *dst, int dst_step, const uint8_t *src, int src_step, int len, int radius, int pixsize) |
static void | blur_power (uint8_t *dst, int dst_step, const uint8_t *src, int src_step, int len, int radius, int power, uint8_t *temp[2], int pixsize) |
static void | hblur (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2], int pixsize) |
static void | vblur (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2], int pixsize) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
AVFILTER_DEFINE_CLASS (boxblur) | |
Variables | |
static const AVOption | boxblur_options [] |
static const AVFilterPad | avfilter_vf_boxblur_inputs [] |
static const AVFilterPad | avfilter_vf_boxblur_outputs [] |
AVFilter | ff_vf_boxblur |
Apply a boxblur filter to the input video.
Ported from MPlayer libmpcodecs/vf_boxblur.c.
Definition in file vf_boxblur.c.
#define BLUR | ( | type, | |
depth | |||
) |
Definition at line 126 of file vf_boxblur.c.
#define OFFSET | ( | x | ) | offsetof(BoxBlurContext, x) |
Definition at line 265 of file vf_boxblur.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 266 of file vf_boxblur.c.
|
static |
Definition at line 50 of file vf_boxblur.c.
|
static |
Definition at line 58 of file vf_boxblur.c.
|
static |
Definition at line 75 of file vf_boxblur.c.
|
inlinestatic |
Definition at line 160 of file vf_boxblur.c.
Referenced by blur_power().
|
inlinestatic |
Definition at line 167 of file vf_boxblur.c.
|
static |
Definition at line 201 of file vf_boxblur.c.
Referenced by filter_frame().
|
static |
Definition at line 214 of file vf_boxblur.c.
Referenced by filter_frame().
|
static |
Definition at line 227 of file vf_boxblur.c.
AVFILTER_DEFINE_CLASS | ( | boxblur | ) |
|
static |
Definition at line 268 of file vf_boxblur.c.
|
static |
Definition at line 289 of file vf_boxblur.c.
|
static |
Definition at line 299 of file vf_boxblur.c.
AVFilter ff_vf_boxblur |
Definition at line 307 of file vf_boxblur.c.