From b0f5852a13cb9888e997b87ec3604bcff88c0c36 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Fri, 22 Aug 2008 18:21:22 +0000 Subject: 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 --- libavcodec/aac.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavcodec/aac.h') diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 57bf09e..83171e2 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]); /** @} */ /** -- cgit v1.1