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) |
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, 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 204 of file af_biquads.c.
Definition at line 287 of file af_biquads.c.
Definition at line 335 of file af_biquads.c.
Definition at line 391 of file af_biquads.c.
Definition at line 438 of file af_biquads.c.
Definition at line 494 of file af_biquads.c.
Definition at line 542 of file af_biquads.c.
#define OFFSET | ( | x | ) | offsetof(BiquadsContext, x) |
Definition at line 1402 of file af_biquads.c.
Definition at line 1403 of file af_biquads.c.
Definition at line 1404 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER_2 | ( | name_, | |
description_, | |||
priv_class_ | |||
) |
Definition at line 1406 of file af_biquads.c.
#define DEFINE_BIQUAD_FILTER | ( | name, | |
description | |||
) |
Definition at line 1430 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 90 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 100 of file af_biquads.c.
|
static |
Definition at line 161 of file af_biquads.c.
|
static |
Definition at line 592 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 609 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 627 of file af_biquads.c.
Referenced by convert_dir2zdf().
|
static |
Definition at line 662 of file af_biquads.c.
Referenced by config_filter().
|
static |
Definition at line 775 of file af_biquads.c.
Referenced by config_output(), and process_command().
|
static |
Definition at line 1140 of file af_biquads.c.
|
static |
Definition at line 1150 of file af_biquads.c.
Referenced by filter_channel().
|
static |
Definition at line 1185 of file af_biquads.c.
Referenced by filter_frame().
|
static |
Definition at line 1249 of file af_biquads.c.
Referenced by activate().
|
static |
Definition at line 1318 of file af_biquads.c.
|
static |
Definition at line 1364 of file af_biquads.c.
|
static |
Definition at line 1377 of file af_biquads.c.
|
static |
Definition at line 1387 of file af_biquads.c.
|
static |
Definition at line 1394 of file af_biquads.c.