diff aac.h @ 7663:66fb1f3937fa libavcodec

Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce buffer sizes accordingly. This produces a ~10% overall decoding perfomance improvement.
author superdump
date Fri, 22 Aug 2008 18:21:22 +0000
parents 3f6fc60f1ed3
children c4a4495715dd
line wrap: on
line diff
--- a/aac.h	Fri Aug 22 18:19:18 2008 +0000
+++ b/aac.h	Fri Aug 22 18:21:22 2008 +0000
@@ -206,7 +206,7 @@
     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 @@
      * @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]);
     /** @} */
 
     /**