summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_dynaudnorm.c
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/af_dynaudnorm: add more descriptive aliases for optionsPaul B Mahol2019-07-241-9/+18
|
* avfilter/af_dynaudnorm: add timeline supportPaul B Mahol2019-04-301-4/+15
|
* avfilter/af_dynaudnorm: always update delay when flushingPaul B Mahol2019-04-301-0/+1
|
* avfilter/af_dynaudnorm: switch to activatePaul B Mahol2019-04-291-17/+59
|
* avfilter/dynaudnorm: increment input outside of the FFMIN macro so it ↵Andy2017-08-091-1/+2
| | | | doesn't get double incremented
* avfilter: do not use AVFrame accessorMuhammad Faiz2017-04-231-3/+3
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* lavfi/dynaudnorm: rename pow2 to pow_2Clément Bœsch2017-03-291-5/+5
| | | | | | | | | | | This conflict with the DJGPP libc which includes a pow2 function¹ We cannot make DJGPP POSIX only (using -D_POSIX_SOURCE) to avoid this kind of symbols conflicts due to the lack of both posix_memalign and memalign (DJGPP non standard function) in that POSIX mode. We currently rely on memalign for aligned heap allocation. [1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html
* avfilter/af_dynaudnorm: fix hang with too short inputPaul B Mahol2017-01-081-2/+9
| | | | | | 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-071-1/+2
| | | | Apparently due to rounding this happens.
* avfilter/af_dynaudnorm: improve pre-filling codeLoRd_MuldeR2016-08-021-6/+15
| | | | | | | | 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-191-29/+31
| | | | | | 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-141-4/+8
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/af_dynaudnorm: replace round by lrintGanesh Ajjanagadde2015-12-211-1/+1
| | | | | | | 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-191-5/+5
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: remove wasteful powGanesh Ajjanagadde2015-11-261-2/+2
| | | | | | | | 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-201-3/+1
| | | | | | | | | | 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-201-7/+0
| | | | It has no longer any effect.
* avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()Paul B Mahol2015-09-121-1/+1
| | | | | | 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-081-3/+3
|
* avfilter/af_dynaudnorm: Fix typo in assertMichael Niedermayer2015-09-031-1/+1
| | | | | | | 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-181-3/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_dynaudnorm: Fix "ISO C90 forbids mixed declarations and code" ↵Michael Niedermayer2015-07-171-8/+14
| | | | | | warnings Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add Dynamic Audio Normalizer filterLoRd_MuldeR2015-07-171-0/+734
OpenPOWER on IntegriCloud