Go to the source code of this file.
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | count_coefficients (char *item_str, int *nb_items) |
|
static int | read_gains (AVFilterContext *ctx, char *item_str, int nb_items) |
|
static int | read_tf_coefficients (AVFilterContext *ctx, char *item_str, int nb_items, double *dst) |
|
static int | read_zp_coefficients (AVFilterContext *ctx, char *item_str, int nb_items, double *dst, const char *format) |
|
static int | read_channels (AVFilterContext *ctx, int channels, uint8_t *item_str, int ab) |
|
static void | multiply (double wre, double wim, int npz, double *coeffs) |
|
static int | expand (AVFilterContext *ctx, double *pz, int nb, double *coeffs) |
|
static int | convert_zp2tf (AVFilterContext *ctx, int channels) |
|
static int | decompose_zp2biquads (AVFilterContext *ctx, int channels) |
|
static void | convert_pr2zp (AVFilterContext *ctx, int channels) |
|
static void | convert_pd2zp (AVFilterContext *ctx, int channels) |
|
static void | drawtext (AVFrame *pic, int x, int y, const char *txt, uint32_t color) |
|
static void | draw_line (AVFrame *out, int x0, int y0, int x1, int y1, uint32_t color) |
|
static void | draw_response (AVFilterContext *ctx, AVFrame *out) |
|
static int | config_output (AVFilterLink *outlink) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static int | config_video (AVFilterLink *outlink) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
| AVFILTER_DEFINE_CLASS (aiir) |
|
◆ IIR_CH
◆ SERIAL_IIR_CH
◆ OFFSET
◆ AF
◆ VF
◆ query_formats()
◆ count_coefficients()
static void count_coefficients |
( |
char * |
item_str, |
|
|
int * |
nb_items |
|
) |
| |
|
static |
◆ read_gains()
◆ read_tf_coefficients()
◆ read_zp_coefficients()
static int read_zp_coefficients |
( |
AVFilterContext * |
ctx, |
|
|
char * |
item_str, |
|
|
int |
nb_items, |
|
|
double * |
dst, |
|
|
const char * |
format |
|
) |
| |
|
static |
◆ read_channels()
◆ multiply()
static void multiply |
( |
double |
wre, |
|
|
double |
wim, |
|
|
int |
npz, |
|
|
double * |
coeffs |
|
) |
| |
|
static |
◆ expand()
◆ convert_zp2tf()
◆ decompose_zp2biquads()
◆ convert_pr2zp()
◆ convert_pd2zp()
◆ drawtext()
static void drawtext |
( |
AVFrame * |
pic, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const char * |
txt, |
|
|
uint32_t |
color |
|
) |
| |
|
static |
◆ draw_line()
◆ draw_response()
◆ config_output()
◆ filter_frame()
◆ config_video()
◆ init()
◆ uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
aiir |
| ) |
|
◆ format
const char* format[] = { "%lf", "%lf %lfi", "%lf %lfr", "%lf %lfd" } |
|
static |
◆ inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 1079 of file af_aiir.c.
◆ aiir_options
Initial value:= {
{
"pr",
"Z-plane zeros/poles (polar radians)", 0,
AV_OPT_TYPE_CONST, {.i64=2}, 0, 0,
AF,
"format" },
{
"pd",
"Z-plane zeros/poles (polar degrees)", 0,
AV_OPT_TYPE_CONST, {.i64=3}, 0, 0,
AF,
"format" },
{
"dbl",
"double-precision floating-point", 0,
AV_OPT_TYPE_CONST, {.i64=0}, 0, 0,
AF,
"precision" },
{
"flt",
"single-precision floating-point", 0,
AV_OPT_TYPE_CONST, {.i64=1}, 0, 0,
AF,
"precision" },
{
"channel",
"set IR channel to display frequency response",
OFFSET(ir_channel),
AV_OPT_TYPE_INT, {.i64=0}, 0, 1024,
VF },
}
Definition at line 1092 of file af_aiir.c.
◆ ff_af_aiir
Initial value:= {
.name = "aiir",
.description =
NULL_IF_CONFIG_SMALL(
"Apply Infinite Impulse Response filter with supplied coefficients."),
.priv_class = &aiir_class,
}
Definition at line 1121 of file af_aiir.c.
static int process(struct ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed)