[FFmpeg-cvslog] r14828 - in trunk/libavcodec: aac.h aacdectab.h

superdump subversion
Mon Aug 18 21:39:09 CEST 2008


Author: superdump
Date: Mon Aug 18 21:39:08 2008
New Revision: 14828

Log:
More OKed AAC decoder code hunks


Modified:
   trunk/libavcodec/aac.h
   trunk/libavcodec/aacdectab.h

Modified: trunk/libavcodec/aac.h
==============================================================================
--- trunk/libavcodec/aac.h	(original)
+++ trunk/libavcodec/aac.h	Mon Aug 18 21:39:08 2008
@@ -232,6 +232,14 @@ 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]);
+    /** @} */
+
+    /**
      * @defgroup tables   Computed / set up during initialization.
      * @{
      */

Modified: trunk/libavcodec/aacdectab.h
==============================================================================
--- trunk/libavcodec/aacdectab.h	(original)
+++ trunk/libavcodec/aacdectab.h	Mon Aug 18 21:39:08 2008
@@ -156,4 +156,19 @@ static const uint16_t *swb_offset_128[] 
 
 // @}
 
+/* @name tns_max_bands
+ * The maximum number of scalefactor bands on which TNS can operate for the long
+ * and short transforms respectively. The index to these tables is related to
+ * the sample rate of the audio.
+ * @{
+ */
+static const uint8_t tns_max_bands_1024[] = {
+    31, 31, 34, 40, 42, 51, 46, 46, 42, 42, 42, 39
+};
+
+static const uint8_t tns_max_bands_128[] = {
+    9, 9, 10, 14, 14, 14, 14, 14, 14, 14, 14, 14
+};
+// @}
+
 #endif /* FFMPEG_AACDECTAB_H */




More information about the ffmpeg-cvslog mailing list