summaryrefslogtreecommitdiff
path: root/libavcodec/aac.h
diff options
context:
space:
mode:
authorRobert Swain <robert.swain@gmail.com>2008-08-22 18:21:22 +0000
committerRobert Swain <robert.swain@gmail.com>2008-08-22 18:21:22 +0000
commitb0f5852a13cb9888e997b87ec3604bcff88c0c36 (patch)
treeb1bbad3c5fae036aa6da407ef5516d686f6ab0b5 /libavcodec/aac.h
parentdb38c38624dfd2504207746cf10e78b34064b25d (diff)
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.h5
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]);
/** @} */
/**