FFmpeg
|
FFT domain filtering. More...
#include "libavfilter/internal.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavcodec/avfft.h"
#include "libavutil/eval.h"
Go to the source code of this file.
Data Structures | |
struct | FFTFILTContext |
Macros | |
#define | MAX_PLANES 4 |
#define | OFFSET(x) offsetof(FFTFILTContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | { VAR_X, VAR_Y, VAR_W, VAR_H, VAR_VARS_NB } |
enum | { Y = 0, U, V } |
Functions | |
AVFILTER_DEFINE_CLASS (fftfilt) | |
static double | lum (void *priv, double x, double y, int plane) |
static double | weight_Y (void *priv, double x, double y) |
static double | weight_U (void *priv, double x, double y) |
static double | weight_V (void *priv, double x, double y) |
static void | copy_rev (FFTSample *dest, int w, int w2) |
static void | rdft_horizontal (FFTFILTContext *s, AVFrame *in, int w, int h, int plane) |
static void | rdft_vertical (FFTFILTContext *s, int h, int plane) |
static void | irdft_vertical (FFTFILTContext *s, int h, int plane) |
static void | irdft_horizontal (FFTFILTContext *s, AVFrame *out, int w, int h, int plane) |
static av_cold int | initialize (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] = { "X", "Y", "W", "H", NULL } |
static const AVOption | fftfilt_options [] |
static const AVFilterPad | fftfilt_inputs [] |
static const AVFilterPad | fftfilt_outputs [] |
AVFilter | ff_vf_fftfilt |
FFT domain filtering.
Definition in file vf_fftfilt.c.
#define MAX_PLANES 4 |
Definition at line 34 of file vf_fftfilt.c.
Referenced by uninit().
#define OFFSET | ( | x | ) | offsetof(FFTFILTContext, x) |
Definition at line 59 of file vf_fftfilt.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 60 of file vf_fftfilt.c.
anonymous enum |
Enumerator | |
---|---|
VAR_X | |
VAR_Y | |
VAR_W | |
VAR_H | |
VAR_VARS_NB |
Definition at line 55 of file vf_fftfilt.c.
anonymous enum |
Enumerator | |
---|---|
Y | |
U | |
V |
Definition at line 57 of file vf_fftfilt.c.
AVFILTER_DEFINE_CLASS | ( | fftfilt | ) |
Definition at line 74 of file vf_fftfilt.c.
Referenced by weight_U(), weight_V(), and weight_Y().
|
static |
Definition at line 80 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 81 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 82 of file vf_fftfilt.c.
Referenced by initialize().
Definition at line 84 of file vf_fftfilt.c.
Referenced by rdft_horizontal(), and rdft_vertical().
Definition at line 96 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 115 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 133 of file vf_fftfilt.c.
Referenced by filter_frame().
Definition at line 149 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 166 of file vf_fftfilt.c.
|
static |
Definition at line 200 of file vf_fftfilt.c.
|
static |
Definition at line 248 of file vf_fftfilt.c.
|
static |
Definition at line 292 of file vf_fftfilt.c.
|
static |
Definition at line 304 of file vf_fftfilt.c.
Definition at line 54 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 62 of file vf_fftfilt.c.
|
static |
Definition at line 318 of file vf_fftfilt.c.
|
static |
Definition at line 328 of file vf_fftfilt.c.
AVFilter ff_vf_fftfilt |
Definition at line 336 of file vf_fftfilt.c.