FFmpeg
|
#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_THREADS 32 |
#define | MAX_PLANES 4 |
#define | OFFSET(x) offsetof(FFTFILTContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | EvalMode { EVAL_MODE_ONCE, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB, EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB } |
enum | { VAR_X, VAR_Y, VAR_W, VAR_H, VAR_N, VAR_WS, VAR_HS, 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 int | rdft_horizontal8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | rdft_horizontal16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | irdft_horizontal8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | irdft_horizontal16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static av_cold int | initialize (AVFilterContext *ctx) |
static void | do_eval (FFTFILTContext *s, AVFilterLink *inlink, int plane) |
static int | config_props (AVFilterLink *inlink) |
static int | multiply_data (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | copy_vertical (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | rdft_vertical (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | irdft_vertical (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | copy_horizontal (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] = { "X", "Y", "W", "H", "N", "WS", "HS", NULL } |
static const AVOption | fftfilt_options [] |
static enum AVPixelFormat | pixel_fmts_fftfilt [] |
static const AVFilterPad | fftfilt_inputs [] |
static const AVFilterPad | fftfilt_outputs [] |
const AVFilter | ff_vf_fftfilt |
FFT domain filtering.
Definition in file vf_fftfilt.c.
#define MAX_THREADS 32 |
Definition at line 35 of file vf_fftfilt.c.
#define MAX_PLANES 4 |
Definition at line 36 of file vf_fftfilt.c.
#define OFFSET | ( | x | ) | offsetof(FFTFILTContext, x) |
Definition at line 79 of file vf_fftfilt.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 80 of file vf_fftfilt.c.
enum EvalMode |
Definition at line 38 of file vf_fftfilt.c.
anonymous enum |
Enumerator | |
---|---|
VAR_X | |
VAR_Y | |
VAR_W | |
VAR_H | |
VAR_N | |
VAR_WS | |
VAR_HS | |
VAR_VARS_NB |
Definition at line 75 of file vf_fftfilt.c.
anonymous enum |
Enumerator | |
---|---|
Y | |
U | |
V |
Definition at line 77 of file vf_fftfilt.c.
AVFILTER_DEFINE_CLASS | ( | fftfilt | ) |
|
inlinestatic |
Definition at line 97 of file vf_fftfilt.c.
Referenced by ff_rotate_slice(), rgb24_to_yuv420p(), weight_U(), weight_V(), and weight_Y().
|
static |
Definition at line 103 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 104 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 105 of file vf_fftfilt.c.
Referenced by initialize().
Definition at line 107 of file vf_fftfilt.c.
Referenced by copy_vertical(), rdft_horizontal16(), and rdft_horizontal8().
|
static |
Definition at line 118 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 146 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 174 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 201 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 229 of file vf_fftfilt.c.
|
static |
Definition at line 263 of file vf_fftfilt.c.
Referenced by config_props(), and filter_frame().
|
static |
Definition at line 284 of file vf_fftfilt.c.
|
static |
Definition at line 352 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 373 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 396 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 412 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 428 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 449 of file vf_fftfilt.c.
|
static |
Definition at line 497 of file vf_fftfilt.c.
Definition at line 74 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 82 of file vf_fftfilt.c.
|
static |
Definition at line 515 of file vf_fftfilt.c.
|
static |
Definition at line 534 of file vf_fftfilt.c.
|
static |
Definition at line 543 of file vf_fftfilt.c.
const AVFilter ff_vf_fftfilt |
Definition at line 550 of file vf_fftfilt.c.