FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/internal.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 | BiquadCoeffs |
struct | AudioCrossoverContext |
Macros | |
#define | MAX_SPLITS 16 |
#define | MAX_BANDS MAX_SPLITS + 1 |
#define | B0 0 |
#define | B1 1 |
#define | B2 2 |
#define | A1 3 |
#define | A2 4 |
#define | OFFSET(x) offsetof(AudioCrossoverContext, x) |
#define | AF AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
#define | BIQUAD_PROCESS(name, type) |
#define | XOVER_PROCESS(name, type, one, ff) |
Functions | |
AVFILTER_DEFINE_CLASS (acrossover) | |
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static int | parse_gains (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static void | set_lp (BiquadCoeffs *b, double fc, double q, double sr) |
static void | set_hp (BiquadCoeffs *b, double fc, double q, double sr) |
static void | set_ap (BiquadCoeffs *b, double fc, double q, double sr) |
static void | set_ap1 (BiquadCoeffs *b, double fc, double sr) |
static void | calc_q_factors (int order, double *q) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | acrossover_options [] |
static const AVFilterPad | inputs [] |
const AVFilter | ff_af_acrossover |
#define MAX_SPLITS 16 |
Definition at line 39 of file af_acrossover.c.
#define MAX_BANDS MAX_SPLITS + 1 |
Definition at line 40 of file af_acrossover.c.
#define B0 0 |
Definition at line 42 of file af_acrossover.c.
#define B1 1 |
Definition at line 43 of file af_acrossover.c.
#define B2 2 |
Definition at line 44 of file af_acrossover.c.
#define A1 3 |
Definition at line 45 of file af_acrossover.c.
#define A2 4 |
Definition at line 46 of file af_acrossover.c.
#define OFFSET | ( | x | ) | offsetof(AudioCrossoverContext, x) |
Definition at line 84 of file af_acrossover.c.
#define AF AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 85 of file af_acrossover.c.
Definition at line 345 of file af_acrossover.c.
Definition at line 394 of file af_acrossover.c.
AVFILTER_DEFINE_CLASS | ( | acrossover | ) |
|
static |
Definition at line 111 of file af_acrossover.c.
|
static |
Definition at line 148 of file af_acrossover.c.
Referenced by init().
|
static |
Definition at line 183 of file af_acrossover.c.
|
static |
Definition at line 242 of file af_acrossover.c.
Referenced by config_input().
|
static |
Definition at line 268 of file af_acrossover.c.
Referenced by config_input().
|
static |
Definition at line 294 of file af_acrossover.c.
Referenced by config_input().
|
static |
Definition at line 320 of file af_acrossover.c.
Referenced by config_input().
|
static |
Definition at line 337 of file af_acrossover.c.
Referenced by config_input().
|
static |
Definition at line 469 of file af_acrossover.c.
|
static |
Definition at line 519 of file af_acrossover.c.
Referenced by activate().
|
static |
Definition at line 561 of file af_acrossover.c.
|
static |
Definition at line 604 of file af_acrossover.c.
|
static |
Definition at line 87 of file af_acrossover.c.
|
static |
Definition at line 612 of file af_acrossover.c.
const AVFilter ff_af_acrossover |
Definition at line 620 of file af_acrossover.c.