FFmpeg
|
#include "filters.h"
#include "video.h"
#include "libavutil/common.h"
#include "libavutil/cpu.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/tx.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 (float *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 [] |
const AVFilter | ff_vf_fftfilt |
FFT domain filtering.
Definition in file vf_fftfilt.c.
#define MAX_THREADS 32 |
Definition at line 37 of file vf_fftfilt.c.
#define MAX_PLANES 4 |
Definition at line 38 of file vf_fftfilt.c.
#define OFFSET | ( | x | ) | offsetof(FFTFILTContext, x) |
Definition at line 89 of file vf_fftfilt.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 90 of file vf_fftfilt.c.
enum EvalMode |
Definition at line 40 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 85 of file vf_fftfilt.c.
anonymous enum |
Enumerator | |
---|---|
Y | |
U | |
V |
Definition at line 87 of file vf_fftfilt.c.
AVFILTER_DEFINE_CLASS | ( | fftfilt | ) |
Definition at line 107 of file vf_fftfilt.c.
Referenced by ff_rotate_slice(), ff_sws_init_range_convert_riscv(), rgb24_to_yuv420p(), weight_U(), weight_V(), and weight_Y().
Definition at line 113 of file vf_fftfilt.c.
Referenced by initialize().
Definition at line 114 of file vf_fftfilt.c.
Referenced by initialize().
Definition at line 115 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 117 of file vf_fftfilt.c.
Referenced by copy_vertical(), rdft_horizontal16(), and rdft_horizontal8().
|
static |
Definition at line 128 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 159 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 190 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 220 of file vf_fftfilt.c.
Referenced by config_props().
|
static |
Definition at line 251 of file vf_fftfilt.c.
|
static |
Definition at line 285 of file vf_fftfilt.c.
Referenced by config_props(), and filter_frame().
|
static |
Definition at line 307 of file vf_fftfilt.c.
|
static |
Definition at line 393 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 414 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 439 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 458 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 477 of file vf_fftfilt.c.
Referenced by filter_frame().
|
static |
Definition at line 499 of file vf_fftfilt.c.
|
static |
Definition at line 547 of file vf_fftfilt.c.
Definition at line 84 of file vf_fftfilt.c.
Referenced by initialize().
|
static |
Definition at line 92 of file vf_fftfilt.c.
|
static |
Definition at line 567 of file vf_fftfilt.c.
|
static |
Definition at line 586 of file vf_fftfilt.c.
const AVFilter ff_vf_fftfilt |
Definition at line 595 of file vf_fftfilt.c.