Paul B Mahol
80dacbedba
avfilter/af_aiir: calculate group delay too
5 years ago
Paul B Mahol
60e6db2f5b
avfilter/af_aiir: do not ignore k option for audio filtering
Previously it was used only for displaying frequency response.
5 years ago
Paul B Mahol
2a801e8856
avfilter/af_aiir: implement mix option
5 years ago
Paul B Mahol
0f0f840716
avfilter/af_aiir: implement rate option
6 years ago
Michael Niedermayer
8dd7c2c6a7
avfilter/af_aiir: Remove l from %lf in av_log environment
The l modifier does nothing in C99 and it was undefined in C89 for %f
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Carl Eugen Hoyos
9cb3d8fcb7
lavfi/af_afir,af_aiir: Remove a variable that is always -1.
Fixes two warnings:
libavfilter/af_afir.c:194:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
~~~~~~~~~~~~^~~~
libavfilter/af_aiir.c:689:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
~~~~~~~~~~~~^~~~
6 years ago
Paul B Mahol
1aa5192451
avfilter/af_aiir: draw IR frequency response
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
de8a1d8d4d
avfilter/af_aiir: add polar zeros/poles format variant
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
de5b12c93f
avfilter/af_aiir: unbreak clipping detection
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
3c29f68b4d
avfilter/af_aiir: do not leak memory on failure in convert_zp2tf()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
e9edd61965
avfilter/af_aiir: refactor code so it uses IIRChannel struct
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
21c99f4b40
avfilter/af_aiir: make default processing to serially cascaded
Also add several helpfull log messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
d9a3074b93
avfilter/af_aiir: add slice threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
7add1ca2b5
avfilter/af_aiir: add cascaded biquads support
Also add precision option.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
3f234a0b22
avfilter/af_aiir: do not forget to free gains too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
205046420d
avfilter/af_aiir: fix typo which may cause overread
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
2d3df8e2e9
avfilter/af_aiir: rename options, provide gains in separate option
This way it can be also used for other format.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
6c65de3db0
avfilter/af_aiir: add support for alternative coefficients format
Support for zeros/poles syntax on Z-plane.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
52c959a237
avfilter/af_aiir: do not crash with invalid options
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
7bb1be9af0
avfilter: add arbitrary audio IIR filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago