FFmpeg
|
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.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 (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
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 [] |
const 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 128 of file vf_boxblur.c.
#define OFFSET | ( | x | ) | offsetof(BoxBlurContext, x) |
Definition at line 267 of file vf_boxblur.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 268 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 77 of file vf_boxblur.c.
|
inlinestatic |
Definition at line 162 of file vf_boxblur.c.
Referenced by blur_power(), and blurdetect_filter_frame().
|
inlinestatic |
Definition at line 169 of file vf_boxblur.c.
|
static |
Definition at line 203 of file vf_boxblur.c.
Referenced by filter_frame().
|
static |
Definition at line 216 of file vf_boxblur.c.
Referenced by filter_frame().
|
static |
Definition at line 229 of file vf_boxblur.c.
AVFILTER_DEFINE_CLASS | ( | boxblur | ) |
|
static |
Definition at line 270 of file vf_boxblur.c.
|
static |
Definition at line 291 of file vf_boxblur.c.
const AVFilter ff_vf_boxblur |
Definition at line 300 of file vf_boxblur.c.