FFmpeg
|
Apply a smartblur filter to the input video Ported from MPlayer libmpcodecs/vf_smartblur.c by Michael Niedermayer. More...
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | FilterParam |
struct | SmartblurContext |
Macros | |
#define | RADIUS_MIN 0.1 |
#define | RADIUS_MAX 5.0 |
#define | STRENGTH_MIN -1.0 |
#define | STRENGTH_MAX 1.0 |
#define | THRESHOLD_MIN -30 |
#define | THRESHOLD_MAX 30 |
#define | CHECK_PARAM(param, name, min, max, format, ret) |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | alloc_sws_context (FilterParam *f, int width, int height, unsigned int flags) |
static int | config_props (AVFilterLink *inlink) |
static void | blur (uint8_t *dst, const int dst_linesize, const uint8_t *src, const int src_linesize, const int w, const int h, const int threshold, struct SwsContext *filter_context) |
static int | filter_frame (AVFilterLink *inlink, AVFilterBufferRef *inpic) |
Variables | |
static const AVFilterPad | smartblur_inputs [] |
static const AVFilterPad | smartblur_outputs [] |
AVFilter | avfilter_vf_smartblur |
Apply a smartblur filter to the input video Ported from MPlayer libmpcodecs/vf_smartblur.c by Michael Niedermayer.
Definition in file vf_smartblur.c.
#define RADIUS_MIN 0.1 |
Definition at line 35 of file vf_smartblur.c.
Referenced by init().
#define RADIUS_MAX 5.0 |
Definition at line 36 of file vf_smartblur.c.
Referenced by init().
#define STRENGTH_MIN -1.0 |
Definition at line 38 of file vf_smartblur.c.
Referenced by init().
#define STRENGTH_MAX 1.0 |
Definition at line 39 of file vf_smartblur.c.
Referenced by init().
#define THRESHOLD_MIN -30 |
Definition at line 41 of file vf_smartblur.c.
Referenced by init().
#define THRESHOLD_MAX 30 |
Definition at line 42 of file vf_smartblur.c.
Referenced by init().
Definition at line 60 of file vf_smartblur.c.
Referenced by init().
|
static |
Definition at line 69 of file vf_smartblur.c.
|
static |
Definition at line 119 of file vf_smartblur.c.
|
static |
Definition at line 127 of file vf_smartblur.c.
|
static |
Definition at line 142 of file vf_smartblur.c.
Referenced by config_props().
|
static |
Definition at line 169 of file vf_smartblur.c.
|
static |
Definition at line 185 of file vf_smartblur.c.
Referenced by filter_frame().
|
static |
Definition at line 249 of file vf_smartblur.c.
|
static |
Definition at line 284 of file vf_smartblur.c.
|
static |
Definition at line 295 of file vf_smartblur.c.
AVFilter avfilter_vf_smartblur |
Definition at line 303 of file vf_smartblur.c.