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,
WFUNC_BOHMAN,
WFUNC_KAISER,
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 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) |
|
◆ RDFT_BITS_MIN
◆ RDFT_BITS_MAX
◆ NB_GAIN_ENTRY_MAX
#define NB_GAIN_ENTRY_MAX 4096 |
◆ OFFSET
◆ FLAGS
◆ TFLAGS
◆ 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 | |
WFUNC_BOHMAN | |
WFUNC_KAISER | |
NB_WFUNC | |
Definition at line 35 of file af_firequalizer.c.
◆ Scale
Enumerator |
---|
SCALE_LINLIN | |
SCALE_LINLOG | |
SCALE_LOGLIN | |
SCALE_LOGLOG | |
NB_SCALE | |
Definition at line 49 of file af_firequalizer.c.
◆ VarOffset
Enumerator |
---|
VAR_F | |
VAR_SR | |
VAR_CH | |
VAR_CHID | |
VAR_CHS | |
VAR_CHLAYOUT | |
VAR_NB | |
Definition at line 529 of file af_firequalizer.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
firequalizer |
| ) |
|
◆ common_uninit()
◆ uninit()
◆ fast_convolute()
◆ fast_convolute_nonlinear()
◆ fast_convolute2()
◆ dump_fir()
◆ entry_func()
◆ 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
◆ firequalizer_outputs
◆ ff_af_firequalizer
Initial value:= {
.name = "firequalizer",
.priv_class = &firequalizer_class,
}
Definition at line 958 of file af_firequalizer.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
#define FILTER_INPUTS(array)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
static const AVFilterPad firequalizer_outputs[]
static const AVFilterPad firequalizer_inputs[]
static int request_frame(AVFilterLink *outlink)
static av_cold void uninit(AVFilterContext *ctx)
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
#define FILTER_OUTPUTS(array)
#define AVFILTERPAD_FLAG_NEEDS_WRITABLE
The filter expects writable frames from its input link, duplicating data buffers if needed.
#define FILTER_SINGLE_SAMPLEFMT(sample_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
@ AV_OPT_TYPE_INT
Underlying C type is int.
static void scale(int *out, const int *in, const int w, const int h, const int shift)
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
#define fixed(width, name, value)
static int config_input(AVFilterLink *inlink)
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.