FFmpeg
|
Apply a smartblur filter to the input video Ported from MPlayer libmpcodecs/vf_smartblur.c by Michael Niedermayer. More...
#include "libavutil/opt.h"
#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 | OFFSET(x) offsetof(SmartblurContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (smartblur) | |
static av_cold int | init (AVFilterContext *ctx) |
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, AVFrame *inpic) |
Variables | |
static const AVOption | smartblur_options [] |
static const AVFilterPad | smartblur_inputs [] |
static const AVFilterPad | smartblur_outputs [] |
AVFilter | avfilter_vf_smartblur |
Detailed Description
Apply a smartblur filter to the input video Ported from MPlayer libmpcodecs/vf_smartblur.c by Michael Niedermayer.
Definition in file vf_smartblur.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 63 of file vf_smartblur.c.
#define OFFSET | ( | x | ) | offsetof(SmartblurContext, x) |
Definition at line 62 of file vf_smartblur.c.
#define RADIUS_MAX 5.0 |
Definition at line 37 of file vf_smartblur.c.
#define RADIUS_MIN 0.1 |
Definition at line 36 of file vf_smartblur.c.
Referenced by init().
#define STRENGTH_MAX 1.0 |
Definition at line 40 of file vf_smartblur.c.
#define STRENGTH_MIN -1.0 |
Definition at line 39 of file vf_smartblur.c.
Referenced by init().
#define THRESHOLD_MAX 30 |
Definition at line 43 of file vf_smartblur.c.
#define THRESHOLD_MIN -30 |
Definition at line 42 of file vf_smartblur.c.
Referenced by init().
Function Documentation
|
static |
Definition at line 132 of file vf_smartblur.c.
Referenced by config_props().
AVFILTER_DEFINE_CLASS | ( | smartblur | ) |
|
static |
Definition at line 175 of file vf_smartblur.c.
Referenced by filter_frame().
|
static |
Definition at line 159 of file vf_smartblur.c.
|
static |
Definition at line 239 of file vf_smartblur.c.
|
static |
Definition at line 85 of file vf_smartblur.c.
|
static |
Definition at line 117 of file vf_smartblur.c.
|
static |
Definition at line 109 of file vf_smartblur.c.
Variable Documentation
AVFilter avfilter_vf_smartblur |
Definition at line 292 of file vf_smartblur.c.
|
static |
Definition at line 274 of file vf_smartblur.c.
|
static |
Definition at line 65 of file vf_smartblur.c.
|
static |
Definition at line 284 of file vf_smartblur.c.
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11