summaryrefslogtreecommitdiff
path: root/libavfilter/af_stereotools.c
Commit message (Collapse)AuthorAge
* avfilter: pass outlink to ff_get_audio_buffer()Paul B Mahol2018-01-03
| | | | | | This is more correct. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: add forgotten breakPaul B Mahol2017-06-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: add 2 more modesPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: introduce different balance modesPaul B Mahol2017-05-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: fix logic failPaul B Mahol2015-12-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: check s->length sizePaul B Mahol2015-12-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: remove floor usagePaul B Mahol2015-12-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter,swresample,swscale: use fabs, fabsf instead of FFABSGanesh Ajjanagadde2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | It is well known that fabs and fabsf are at least as fast and sometimes faster than the FFABS macro, at least on the gcc+glibc combination. For instance, see the reference: http://patchwork.sourceware.org/patch/6735/. This was a patch to glibc in order to remove their usages of a macro. The reason essentially boils down to fabs using the __builtin_fabs of the compiler, while FFABS needs to infer to not use a branch and to simply change the sign bit. Usually the inference works, but sometimes it does not. This may be easily checked by looking at the asm. This also has the added benefit of reducing macro usage, which has problems with side-effects. Note that avcodec is not handled here, as it is huge and most things there are integer arithmetic anyway. Tested with FATE. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/all: propagate errors of functions from avfilter/formatsGanesh Ajjanagadde2015-10-14
| | | | | | | | | | | | | | | | | | Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter:audio: fix shadowed AVFrame *outPaul B Mahol2015-10-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add stereo tools filterPaul B Mahol2015-09-17
Signed-off-by: Paul B Mahol <onemda@gmail.com>