FFmpeg
|
#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/ffmath.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
Go to the source code of this file.
Data Structures | |
struct | BiquadsContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | BIQUAD_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_DII_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_TDI_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_TDII_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_LATT_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_SVF_FILTER(name, type, ftype, min, max, need_clipping) |
#define | BIQUAD_ZDF_FILTER(name, type, ftype, min, max, need_clipping, two) |
#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 (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
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 | outputs [] |
Definition at line 200 of file af_biquads.c.
Definition at line 282 of file af_biquads.c.
Definition at line 331 of file af_biquads.c.
Definition at line 388 of file af_biquads.c.
Definition at line 436 of file af_biquads.c.
Definition at line 495 of file af_biquads.c.
Definition at line 547 of file af_biquads.c.
#define OFFSET | ( | x | ) | offsetof(BiquadsContext, x) |
Definition at line 1443 of file af_biquads.c.
Definition at line 1444 of file af_biquads.c.
Definition at line 1445 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER_2 | ( | name_, | |
description_, | |||
priv_class_ | |||
) |
Definition at line 1447 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER | ( | name, | |
description | |||
) |
Definition at line 1471 of file af_biquads.c.
#define WIDTH_OPTION | ( | x | ) |
Definition at line 1475 of file af_biquads.c.
#define WIDTH_TYPE_OPTION | ( | x | ) |
Definition at line 1479 of file af_biquads.c.
#define MIX_CHANNELS_NORMALIZE_OPTION | ( | x, | |
y, | |||
z | |||
) |
Definition at line 1488 of file af_biquads.c.
#define TRANSFORM_OPTION | ( | x | ) |
Definition at line 1496 of file af_biquads.c.
#define PRECISION_OPTION | ( | x | ) |
Definition at line 1507 of file af_biquads.c.
#define BLOCKSIZE_OPTION | ( | x | ) |
Definition at line 1516 of file af_biquads.c.
enum FilterType |
Definition at line 77 of file af_biquads.c.
enum WidthType |
Enumerator | |
---|---|
NONE | |
HERTZ | |
OCTAVE | |
QFACTOR | |
SLOPE | |
KHERTZ | |
NB_WTYPE |
Definition at line 92 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 102 of file af_biquads.c.
|
static |
Definition at line 157 of file af_biquads.c.
|
static |
Definition at line 602 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 619 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 637 of file af_biquads.c.
Referenced by convert_dir2zdf().
|
static |
Definition at line 672 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 796 of file af_biquads.c.
Referenced by config_output(), and process_command().
|
static |
Definition at line 1193 of file af_biquads.c.
|
static |
Definition at line 1203 of file af_biquads.c.
Referenced by filter_channel().
|
static |
Definition at line 1238 of file af_biquads.c.
Referenced by filter_frame().
|
static |
Definition at line 1295 of file af_biquads.c.
Referenced by activate().
|
static |
Definition at line 1364 of file af_biquads.c.
|
static |
Definition at line 1410 of file af_biquads.c.
|
static |
Definition at line 1423 of file af_biquads.c.
|
static |
Definition at line 1435 of file af_biquads.c.