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 *s, const float *kernel_buf, float *conv_buf, OverlapIndex *idx, float *data, 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 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) |
|
#define NB_GAIN_ENTRY_MAX 4096 |
#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) |
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.
Enumerator |
---|
SCALE_LINLIN |
|
SCALE_LINLOG |
|
SCALE_LOGLIN |
|
SCALE_LOGLOG |
|
NB_SCALE |
|
Definition at line 46 of file af_firequalizer.c.
Enumerator |
---|
VAR_F |
|
VAR_SR |
|
VAR_CH |
|
VAR_CHID |
|
VAR_CHS |
|
VAR_CHLAYOUT |
|
VAR_NB |
|
Definition at line 411 of file af_firequalizer.c.
AVFILTER_DEFINE_CLASS |
( |
firequalizer |
| ) |
|
static double entry_func |
( |
void * |
p, |
|
|
double |
freq, |
|
|
double |
gain |
|
) |
| |
|
static |
static int gain_entry_compare |
( |
const void * |
key, |
|
|
const void * |
memb |
|
) |
| |
|
static |
static double gain_interpolate_func |
( |
void * |
p, |
|
|
double |
freq |
|
) |
| |
|
static |
static double cubic_interpolate_func |
( |
void * |
p, |
|
|
double |
freq |
|
) |
| |
|
static |
static int generate_kernel |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
gain, |
|
|
const char * |
gain_entry |
|
) |
| |
|
static |
static int process_command |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
cmd, |
|
|
const char * |
args, |
|
|
char * |
res, |
|
|
int |
res_len, |
|
|
int |
flags |
|
) |
| |
|
static |
const char* const var_names[] |
|
static |
Initial value:= {
{
.name = "default",
.needs_writable = 1,
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition at line 730 of file af_firequalizer.c.
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
Definition at line 741 of file af_firequalizer.c.
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 outputs[]
static const AVFilterPad inputs[]
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 750 of file af_firequalizer.c.