diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-01 06:13:06 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-14 09:15:36 +0300 |
commit | d2119f624d392f53f80c3d36ffaadca23aef8a10 (patch) | |
tree | c867ecd8f2b9f4bf7aafba9198da92f78697993b /libavcodec/aacdec_template.c | |
parent | 373ee2c61871369c05efb1f7db5b723924a4b840 (diff) |
imdct15: rename to mdct15 and add a forward transform
Handles strides (needed for Opus transients), does pre-reindexing and folding
without needing a copy.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacdec_template.c')
-rw-r--r-- | libavcodec/aacdec_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index fd6a0f17c5..4e0a9529e1 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_template.c @@ -1207,7 +1207,7 @@ static av_cold int aac_decode_init(AVCodecContext *avctx) AAC_RENAME_32(ff_mdct_init)(&ac->mdct_small, 8, 1, 1.0 / RANGE15(128.0)); AAC_RENAME_32(ff_mdct_init)(&ac->mdct_ltp, 11, 0, RANGE15(-2.0)); #if !USE_FIXED - ret = ff_imdct15_init(&ac->mdct480, 5); + ret = ff_mdct15_init(&ac->mdct480, 1, 5, -1.0f); if (ret < 0) return ret; #endif @@ -3217,7 +3217,7 @@ static av_cold int aac_decode_close(AVCodecContext *avctx) ff_mdct_end(&ac->mdct_ld); ff_mdct_end(&ac->mdct_ltp); #if !USE_FIXED - ff_imdct15_uninit(&ac->mdct480); + ff_mdct15_uninit(&ac->mdct480); #endif av_freep(&ac->fdsp); return 0; |