FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/file_open.h"
#include "libavutil/opt.h"
#include "libavutil/eval.h"
#include "libavutil/avassert.h"
#include "libavutil/tx.h"
#include "avfilter.h"
#include "internal.h"
#include "audio.h"
Go to the source code of this file.
Data Structures | |
struct | GainEntry |
struct | OverlapIndex |
struct | FIREqualizerContext |
Macros | |
#define | RDFT_BITS_MIN 4 |
#define | RDFT_BITS_MAX 16 |
#define | NB_GAIN_ENTRY_MAX 4096 |
#define | OFFSET(x) offsetof(FIREqualizerContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | TFLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
#define | SELECT_GAIN(s) (s->gain_cmd ? s->gain_cmd : s->gain) |
#define | SELECT_GAIN_ENTRY(s) (s->gain_entry_cmd ? s->gain_entry_cmd : s->gain_entry) |
Functions | |
AVFILTER_DEFINE_CLASS (firequalizer) | |
static void | common_uninit (FIREqualizerContext *s) |
static av_cold void | uninit (AVFilterContext *ctx) |
static void | fast_convolute (FIREqualizerContext *restrict s, const float *restrict kernel_buf, float *restrict conv_buf, OverlapIndex *restrict idx, float *restrict data, int nsamples) |
static void | fast_convolute_nonlinear (FIREqualizerContext *restrict s, const float *restrict kernel_buf, float *restrict conv_buf, OverlapIndex *restrict idx, float *restrict data, int nsamples) |
static void | fast_convolute2 (FIREqualizerContext *restrict s, const float *restrict kernel_buf, AVComplexFloat *restrict conv_buf, OverlapIndex *restrict idx, float *restrict data0, float *restrict data1, int nsamples) |
static void | dump_fir (AVFilterContext *ctx, FILE *fp, int ch) |
static double | entry_func (void *p, double freq, double gain) |
static int | gain_entry_compare (const void *key, const void *memb) |
static double | gain_interpolate_func (void *p, double freq) |
static double | cubic_interpolate_func (void *p, double freq) |
static void | generate_min_phase_kernel (FIREqualizerContext *s, float *rdft_buf) |
static int | generate_kernel (AVFilterContext *ctx, const char *gain, const char *gain_entry) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static int | request_frame (AVFilterLink *outlink) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
Variables | |
static const AVOption | firequalizer_options [] |
static const char *const | var_names [] |
static const AVFilterPad | firequalizer_inputs [] |
static const AVFilterPad | firequalizer_outputs [] |
const AVFilter | ff_af_firequalizer |
#define RDFT_BITS_MIN 4 |
Definition at line 31 of file af_firequalizer.c.
#define RDFT_BITS_MAX 16 |
Definition at line 32 of file af_firequalizer.c.
#define NB_GAIN_ENTRY_MAX 4096 |
Definition at line 56 of file af_firequalizer.c.
#define OFFSET | ( | x | ) | offsetof(FIREqualizerContext, x) |
Definition at line 126 of file af_firequalizer.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 127 of file af_firequalizer.c.
Definition at line 128 of file af_firequalizer.c.
Definition at line 722 of file af_firequalizer.c.
Definition at line 723 of file af_firequalizer.c.
enum WindowFunc |
Definition at line 34 of file af_firequalizer.c.
enum Scale |
Enumerator | |
---|---|
SCALE_LINLIN | |
SCALE_LINLOG | |
SCALE_LOGLIN | |
SCALE_LOGLOG | |
NB_SCALE |
Definition at line 48 of file af_firequalizer.c.
enum VarOffset |
Enumerator | |
---|---|
VAR_F | |
VAR_SR | |
VAR_CH | |
VAR_CHID | |
VAR_CHS | |
VAR_CHLAYOUT | |
VAR_NB |
Definition at line 528 of file af_firequalizer.c.
AVFILTER_DEFINE_CLASS | ( | firequalizer | ) |
|
static |
Definition at line 163 of file af_firequalizer.c.
Referenced by config_input(), and uninit().
|
static |
Definition at line 190 of file af_firequalizer.c.
|
static |
Definition at line 199 of file af_firequalizer.c.
Referenced by filter_frame().
|
static |
Definition at line 236 of file af_firequalizer.c.
Referenced by filter_frame().
|
static |
Definition at line 275 of file af_firequalizer.c.
Referenced by filter_frame().
|
static |
Definition at line 338 of file af_firequalizer.c.
Referenced by generate_kernel().
Definition at line 397 of file af_firequalizer.c.
Referenced by generate_kernel().
|
static |
Definition at line 426 of file af_firequalizer.c.
Referenced by cubic_interpolate_func(), and gain_interpolate_func().
Definition at line 438 of file af_firequalizer.c.
Referenced by generate_kernel().
Definition at line 473 of file af_firequalizer.c.
Referenced by generate_kernel().
|
static |
Definition at line 538 of file af_firequalizer.c.
Referenced by generate_kernel().
|
static |
Definition at line 581 of file af_firequalizer.c.
Referenced by config_input(), and process_command().
|
static |
Definition at line 725 of file af_firequalizer.c.
|
static |
Definition at line 831 of file af_firequalizer.c.
Referenced by request_frame().
|
static |
Definition at line 867 of file af_firequalizer.c.
|
static |
Definition at line 889 of file af_firequalizer.c.
|
static |
Definition at line 130 of file af_firequalizer.c.
|
static |
Definition at line 518 of file af_firequalizer.c.
Referenced by generate_kernel().
|
static |
Definition at line 938 of file af_firequalizer.c.
|
static |
Definition at line 948 of file af_firequalizer.c.
const AVFilter ff_af_firequalizer |
Definition at line 956 of file af_firequalizer.c.