Go to the source code of this file.
|
enum | WindowFunc {
WFUNC_RECTANGULAR,
WFUNC_HANN,
WFUNC_HAMMING,
WFUNC_BLACKMAN,
WFUNC_NUTTALL3,
WFUNC_MNUTTALL3,
WFUNC_NUTTALL,
WFUNC_BNUTTALL,
WFUNC_BHARRIS,
WFUNC_TUKEY,
NB_WFUNC,
WFUNC_RECT,
WFUNC_HANNING,
WFUNC_HAMMING,
WFUNC_BLACKMAN,
WFUNC_BARTLETT,
WFUNC_WELCH,
WFUNC_FLATTOP,
WFUNC_BHARRIS,
WFUNC_BNUTTALL,
WFUNC_SINE,
WFUNC_NUTTALL,
WFUNC_BHANN,
WFUNC_LANCZOS,
WFUNC_GAUSS,
WFUNC_TUKEY,
WFUNC_DOLPH,
WFUNC_CAUCHY,
WFUNC_PARZEN,
WFUNC_POISSON,
NB_WFUNC
} |
|
enum | Scale {
SCALE_LINLIN,
SCALE_LINLOG,
SCALE_LOGLIN,
SCALE_LOGLOG,
NB_SCALE
} |
|
enum | VarOffset {
VAR_F,
VAR_SR,
VAR_CH,
VAR_CHID,
VAR_CHS,
VAR_CHLAYOUT,
VAR_NB
} |
|
|
| AVFILTER_DEFINE_CLASS (firequalizer) |
|
static void | common_uninit (FIREqualizerContext *s) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | fast_convolute (FIREqualizerContext *av_restrict s, const float *av_restrict kernel_buf, float *av_restrict conv_buf, OverlapIndex *av_restrict idx, float *av_restrict data, int nsamples) |
|
static void | fast_convolute_nonlinear (FIREqualizerContext *av_restrict s, const float *av_restrict kernel_buf, float *av_restrict conv_buf, OverlapIndex *av_restrict idx, float *av_restrict data, int nsamples) |
|
static void | fast_convolute2 (FIREqualizerContext *av_restrict s, const float *av_restrict kernel_buf, FFTComplex *av_restrict conv_buf, OverlapIndex *av_restrict idx, float *av_restrict data0, float *av_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) |
|
◆ RDFT_BITS_MIN
◆ RDFT_BITS_MAX
◆ NB_GAIN_ENTRY_MAX
#define NB_GAIN_ENTRY_MAX 4096 |
◆ OFFSET
◆ FLAGS
◆ SELECT_GAIN
#define SELECT_GAIN |
( |
|
s | ) |
(s->gain_cmd ? s->gain_cmd : s->gain) |
◆ SELECT_GAIN_ENTRY
#define SELECT_GAIN_ENTRY |
( |
|
s | ) |
(s->gain_entry_cmd ? s->gain_entry_cmd : s->gain_entry) |
◆ WindowFunc
Enumerator |
---|
WFUNC_RECTANGULAR | |
WFUNC_HANN | |
WFUNC_HAMMING | |
WFUNC_BLACKMAN | |
WFUNC_NUTTALL3 | |
WFUNC_MNUTTALL3 | |
WFUNC_NUTTALL | |
WFUNC_BNUTTALL | |
WFUNC_BHARRIS | |
WFUNC_TUKEY | |
NB_WFUNC | |
WFUNC_RECT | |
WFUNC_HANNING | |
WFUNC_HAMMING | |
WFUNC_BLACKMAN | |
WFUNC_BARTLETT | |
WFUNC_WELCH | |
WFUNC_FLATTOP | |
WFUNC_BHARRIS | |
WFUNC_BNUTTALL | |
WFUNC_SINE | |
WFUNC_NUTTALL | |
WFUNC_BHANN | |
WFUNC_LANCZOS | |
WFUNC_GAUSS | |
WFUNC_TUKEY | |
WFUNC_DOLPH | |
WFUNC_CAUCHY | |
WFUNC_PARZEN | |
WFUNC_POISSON | |
NB_WFUNC | |
Definition at line 32 of file af_firequalizer.c.
◆ Scale
Enumerator |
---|
SCALE_LINLIN | |
SCALE_LINLOG | |
SCALE_LOGLIN | |
SCALE_LOGLOG | |
NB_SCALE | |
Definition at line 46 of file af_firequalizer.c.
◆ VarOffset
Enumerator |
---|
VAR_F | |
VAR_SR | |
VAR_CH | |
VAR_CHID | |
VAR_CHS | |
VAR_CHLAYOUT | |
VAR_NB | |
Definition at line 543 of file af_firequalizer.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
firequalizer |
| ) |
|
◆ common_uninit()
◆ uninit()
◆ query_formats()
◆ fast_convolute()
◆ fast_convolute_nonlinear()
◆ fast_convolute2()
◆ dump_fir()
◆ entry_func()
static double entry_func |
( |
void * |
p, |
|
|
double |
freq, |
|
|
double |
gain |
|
) |
| |
|
static |
◆ gain_entry_compare()
static int gain_entry_compare |
( |
const void * |
key, |
|
|
const void * |
memb |
|
) |
| |
|
static |
◆ gain_interpolate_func()
static double gain_interpolate_func |
( |
void * |
p, |
|
|
double |
freq |
|
) |
| |
|
static |
◆ cubic_interpolate_func()
static double cubic_interpolate_func |
( |
void * |
p, |
|
|
double |
freq |
|
) |
| |
|
static |
◆ generate_min_phase_kernel()
◆ generate_kernel()
static int generate_kernel |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
gain, |
|
|
const char * |
gain_entry |
|
) |
| |
|
static |
◆ config_input()
◆ filter_frame()
◆ request_frame()
◆ process_command()
static int process_command |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
cmd, |
|
|
const char * |
args, |
|
|
char * |
res, |
|
|
int |
res_len, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ firequalizer_options
◆ var_names
const char* const var_names[] |
|
static |
◆ firequalizer_inputs
Initial value:= {
{
.name = "default",
.needs_writable = 1,
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition at line 950 of file af_firequalizer.c.
◆ firequalizer_outputs
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
Definition at line 961 of file af_firequalizer.c.
◆ ff_af_firequalizer
Initial value:= {
.name = "firequalizer",
.priv_class = &firequalizer_class,
}
static const AVFilterPad firequalizer_outputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad firequalizer_inputs[]
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
static int query_formats(AVFilterContext *ctx)
Definition at line 970 of file af_firequalizer.c.