diff options
author | Robert Swain <robert.swain@gmail.com> | 2008-08-22 18:21:22 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-08-22 18:21:22 +0000 |
commit | b0f5852a13cb9888e997b87ec3604bcff88c0c36 (patch) | |
tree | b1bbad3c5fae036aa6da407ef5516d686f6ab0b5 /libavcodec/aac.h | |
parent | db38c38624dfd2504207746cf10e78b34064b25d (diff) | |
download | ffmpeg-b0f5852a13cb9888e997b87ec3604bcff88c0c36.tar.gz |
Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
buffer sizes accordingly. This produces a ~10% overall decoding perfomance
improvement.
Originally committed as revision 14908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r-- | libavcodec/aac.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 57bf09e027..83171e2c29 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -206,7 +206,7 @@ typedef struct { int band_type_run_end[120]; ///< band type run end points float sf[120]; ///< scalefactors DECLARE_ALIGNED_16(float, coeffs[1024]); ///< coefficients for IMDCT - DECLARE_ALIGNED_16(float, saved[1024]); ///< overlap + DECLARE_ALIGNED_16(float, saved[512]); ///< overlap DECLARE_ALIGNED_16(float, ret[1024]); ///< PCM output } SingleChannelElement; @@ -247,8 +247,7 @@ typedef struct { * @defgroup temporary aligned temporary buffers (We do not want to have these on the stack.) * @{ */ - DECLARE_ALIGNED_16(float, buf_mdct[2048]); - DECLARE_ALIGNED_16(float, revers[1024]); + DECLARE_ALIGNED_16(float, buf_mdct[1024]); /** @} */ /** |