summaryrefslogtreecommitdiff
path: root/libavfilter/af_anequalizer.c
Commit message (Collapse)AuthorAge
* all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.hGanesh Ajjanagadde2016-03-22
| | | | | | | | | | | The idea is to use ffmath.h for internal implementations of math functions. Currently, it is used for variants of libm functions, but is by no means limited to such things. Note that this is not exported; use lavu/mathematics for such purposes. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
* avfilter/af_anequalizer: Avoid loss of precision when calculating nyquist ↵Michael Niedermayer2016-02-12
| | | | | | | | | | frequency Fixes: CID1351398 Fixes: CID1351400 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_anequalizer: Fix memleak of argsMichael Niedermayer2016-02-08
| | | | | | Fixes CID1351355 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/af_anequalizer: replace pow(x,-2) by 1/(x*x)Ganesh Ajjanagadde2015-12-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_anequalizer: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_anequalizer: remove cabs, cexp dependenciesGanesh Ajjanagadde2015-12-28
| | | | | | | | | Replaces by real arithmetic. Tested the validity of these transformations separately. Numerical differences are ~1e-15, and should not matter: it is not even clear which is more precise mathematically. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/af_anequalizer: make cliping filter type actually usefulPaul B Mahol2015-12-25
| | | | | | Previously result was ignored. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_anequalizer: use pow instead of exp10Paul B Mahol2015-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add high-order parametric multiband equalizer filterPaul B Mahol2015-12-25
Signed-off-by: Paul B Mahol <onemda@gmail.com>