FFmpeg
|
#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ChanCache |
struct | BiquadsContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | BIQUAD_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_DII_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_TDI_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_TDII_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_LATT_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_SVF_FILTER(name, type, min, max, need_clipping) |
#define | BIQUAD_ZDF_FILTER(name, type, min, max, need_clipping) |
#define | OFFSET(x) offsetof(BiquadsContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | DEFINE_BIQUAD_FILTER_2(name_, description_, priv_class_) |
#define | DEFINE_BIQUAD_FILTER(name, description) |
#define | WIDTH_OPTION(x) |
#define | WIDTH_TYPE_OPTION(x) |
#define | MIX_CHANNELS_NORMALIZE_OPTION(x, y, z) |
#define | TRANSFORM_OPTION(x) |
#define | PRECISION_OPTION(x) |
#define | BLOCKSIZE_OPTION(x) |
Enumerations | |
enum | FilterType { DC_TYPE, AC_TYPE, SQ_TYPE, PS_TYPE, NB_TYPES, BUTTERWORTH, CHEBYSHEV1, CHEBYSHEV2, NB_TYPES, biquad, equalizer, bass, treble, bandpass, bandreject, allpass, highpass, lowpass, lowshelf, highshelf, tiltshelf, WEAK, STRONG, NB_FILTER, LOWPASS, FLAT, AFLAT, CHROMA, COLOR, ACOLOR, XFLAT, YFLAT, NB_FILTERS } |
enum | WidthType { NONE, HERTZ, OCTAVE, QFACTOR, SLOPE, KHERTZ, NB_WTYPE } |
enum | TransformType { PREDICTOR_TRANSFORM = 0, COLOR_TRANSFORM = 1, SUBTRACT_GREEN = 2, COLOR_INDEXING_TRANSFORM = 3, DI, DII, TDI, TDII, LATT, SVF, ZDF, NB_TTYPE } |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static void | convert_dir2latt (BiquadsContext *s) |
static void | convert_dir2svf (BiquadsContext *s) |
static double | convert_width2qfactor (double width, double frequency, double gain, double sample_rate, int width_type) |
static void | convert_dir2zdf (BiquadsContext *s, int sample_rate) |
static int | config_filter (AVFilterLink *outlink, int reset) |
static int | config_output (AVFilterLink *outlink) |
static void | reverse_samples (AVFrame *out, AVFrame *in, int p, int oo, int io, int nb_samples) |
static int | filter_channel (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf, int eof) |
static int | activate (AVFilterContext *ctx) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
Definition at line 205 of file af_biquads.c.
Definition at line 288 of file af_biquads.c.
Definition at line 336 of file af_biquads.c.
Definition at line 392 of file af_biquads.c.
Definition at line 439 of file af_biquads.c.
Definition at line 495 of file af_biquads.c.
Definition at line 543 of file af_biquads.c.
#define OFFSET | ( | x | ) | offsetof(BiquadsContext, x) |
Definition at line 1424 of file af_biquads.c.
Definition at line 1425 of file af_biquads.c.
Definition at line 1426 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER_2 | ( | name_, | |
description_, | |||
priv_class_ | |||
) |
Definition at line 1428 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER | ( | name, | |
description | |||
) |
Definition at line 1452 of file af_biquads.c.
#define WIDTH_OPTION | ( | x | ) |
Definition at line 1456 of file af_biquads.c.
#define WIDTH_TYPE_OPTION | ( | x | ) |
Definition at line 1460 of file af_biquads.c.
#define MIX_CHANNELS_NORMALIZE_OPTION | ( | x, | |
y, | |||
z | |||
) |
Definition at line 1469 of file af_biquads.c.
#define TRANSFORM_OPTION | ( | x | ) |
Definition at line 1477 of file af_biquads.c.
#define PRECISION_OPTION | ( | x | ) |
Definition at line 1488 of file af_biquads.c.
#define BLOCKSIZE_OPTION | ( | x | ) |
Definition at line 1497 of file af_biquads.c.
enum FilterType |
Definition at line 76 of file af_biquads.c.
enum WidthType |
Enumerator | |
---|---|
NONE | |
HERTZ | |
OCTAVE | |
QFACTOR | |
SLOPE | |
KHERTZ | |
NB_WTYPE |
Definition at line 91 of file af_biquads.c.
enum TransformType |
Enumerator | |
---|---|
PREDICTOR_TRANSFORM | |
COLOR_TRANSFORM | |
SUBTRACT_GREEN | |
COLOR_INDEXING_TRANSFORM | |
DI | |
DII | |
TDI | |
TDII | |
LATT | |
SVF | |
ZDF | |
NB_TTYPE |
Definition at line 101 of file af_biquads.c.
|
static |
Definition at line 162 of file af_biquads.c.
|
static |
Definition at line 593 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 610 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 628 of file af_biquads.c.
Referenced by convert_dir2zdf().
|
static |
Definition at line 663 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 787 of file af_biquads.c.
Referenced by config_output(), and process_command().
|
static |
Definition at line 1162 of file af_biquads.c.
|
static |
Definition at line 1172 of file af_biquads.c.
Referenced by filter_channel().
|
static |
Definition at line 1207 of file af_biquads.c.
Referenced by filter_frame().
|
static |
Definition at line 1271 of file af_biquads.c.
Referenced by activate().
|
static |
Definition at line 1340 of file af_biquads.c.
|
static |
Definition at line 1386 of file af_biquads.c.
|
static |
Definition at line 1399 of file af_biquads.c.
|
static |
Definition at line 1409 of file af_biquads.c.
|
static |
Definition at line 1416 of file af_biquads.c.