summaryrefslogtreecommitdiff
path: root/libavfilter/af_dynaudnorm.c
Commit message (Collapse)AuthorAge
* avfilter/af_dynaudnorm: fix hang with too short inputPaul B Mahol2017-01-08
| | | | | | The only thing we can do at such point is return samples unchanged. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: use better check for infinite loopPaul B Mahol2016-08-07
| | | | Apparently due to rounding this happens.
* avfilter/af_dynaudnorm: improve pre-filling codeLoRd_MuldeR2016-08-02
| | | | | | | | In order to avoid possible clipping at the very beginning. Especially apparent when "alternative" boundary mode is used. Adopted from original commit by committer.
* avfilter/af_dynaudnorm: call uninit() from config_input()Paul B Mahol2016-01-19
| | | | | | Should help dynamic filtergraph reconfiguration. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: fix possible null pointer dereferencePaul B Mahol2016-01-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/af_dynaudnorm: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint is at least as fast, uses a superior rounding mode, and avoids an implicit cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/af_dynaudnorm: use av_malloc_array()Paul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: remove wasteful powGanesh Ajjanagadde2015-11-26
| | | | | | | | This removes wasteful pow(x, 2.0) that although not terribly important for speed, is still useless. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/af_dynaudnorm: use M_PIGanesh Ajjanagadde2015-11-20
| | | | | | | | | | The ad-hoc pi constant has a ludicrous number of digits that offer no value whatsoever. M_PI is more consistent and readable across the codebase. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-20
| | | | It has no longer any effect.
* avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()Paul B Mahol2015-09-12
| | | | | | Fixes playback of some files with ffplay. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/dynaudnorm: use AV_OPT_TYPE_BOOLClément Bœsch2015-09-08
|
* avfilter/af_dynaudnorm: Fix typo in assertMichael Niedermayer2015-09-03
| | | | | | | Fixes: CID1322303 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_dynaudnorm: Use av_frame_get_channels()Michael Niedermayer2015-07-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_dynaudnorm: Fix "ISO C90 forbids mixed declarations and code" ↵Michael Niedermayer2015-07-17
| | | | | | warnings Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add Dynamic Audio Normalizer filterLoRd_MuldeR2015-07-17