#include "libavutil/opt.h"
#include "avfilter.h"
#include "internal.h"
#include "audio.h"
Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (aemphasis) |
|
static void | biquad_process (BiquadCoeffs *bq, double *dst, const double *src, int nb_samples, double *w, double level_in, double level_out) |
|
static int | filter_channels (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static void | set_highshelf_rbj (BiquadCoeffs *bq, double freq, double q, double peak, double sr) |
|
static void | set_lp_rbj (BiquadCoeffs *bq, double fc, double q, double sr, double gain) |
|
static double | freq_gain (BiquadCoeffs *c, double freq, double sr) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
aemphasis |
| ) |
|
◆ biquad_process()
static void biquad_process |
( |
BiquadCoeffs * |
bq, |
|
|
double * |
dst, |
|
|
const double * |
src, |
|
|
int |
nb_samples, |
|
|
double * |
w, |
|
|
double |
level_in, |
|
|
double |
level_out |
|
) |
| |
|
inlinestatic |
◆ filter_channels()
◆ filter_frame()
◆ set_highshelf_rbj()
static void set_highshelf_rbj |
( |
BiquadCoeffs * |
bq, |
|
|
double |
freq, |
|
|
double |
q, |
|
|
double |
peak, |
|
|
double |
sr |
|
) |
| |
|
inlinestatic |
◆ set_lp_rbj()
static void set_lp_rbj |
( |
BiquadCoeffs * |
bq, |
|
|
double |
fc, |
|
|
double |
q, |
|
|
double |
sr, |
|
|
double |
gain |
|
) |
| |
|
inlinestatic |
◆ freq_gain()
static double freq_gain |
( |
BiquadCoeffs * |
c, |
|
|
double |
freq, |
|
|
double |
sr |
|
) |
| |
|
static |
◆ config_input()
◆ process_command()
static int process_command |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
cmd, |
|
|
const char * |
args, |
|
|
char * |
res, |
|
|
int |
res_len, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ uninit()
◆ aemphasis_options
◆ avfilter_af_aemphasis_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 355 of file af_aemphasis.c.
◆ avfilter_af_aemphasis_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 364 of file af_aemphasis.c.
◆ ff_af_aemphasis
Initial value:= {
.name = "aemphasis",
.priv_class = &aemphasis_class,
}
Definition at line 371 of file af_aemphasis.c.
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)