#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.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()
◆ filter_channels()
| static int filter_channels |
( |
AVFilterContext * | ctx, |
|
|
void * | arg, |
|
|
int | jobnr, |
|
|
int | nb_jobs ) |
|
static |
◆ filter_frame()
◆ set_highshelf_rbj()
◆ set_lp_rbj()
◆ freq_gain()
◆ 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
Initial value:= {
}
mode
Use these values in ebur128_init (or'ed).
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
Definition at line 49 of file af_aemphasis.c.
◆ avfilter_af_aemphasis_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
Definition at line 355 of file af_aemphasis.c.
◆ ff_af_aemphasis
Initial value:= {
.p.name = "aemphasis",
.p.priv_class = &aemphasis_class,
}
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
static const AVFilterPad avfilter_af_aemphasis_inputs[]
const AVFilterPad ff_audio_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_AUDIO.
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
@ AV_SAMPLE_FMT_DBLP
double, planar
static av_cold void uninit(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_SINGLE_SAMPLEFMT(sample_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 364 of file af_aemphasis.c.