# HG changeset patch # User superdump # Date 1219088348 0 # Node ID 850a1625bee40421f26aedaae1a6526024c5974c # Parent 87f68803080a94f0ed212dc3a282164d68b31e2d More OKed AAC decoder code hunks diff -r 87f68803080a -r 850a1625bee4 aac.h --- a/aac.h Mon Aug 18 12:03:59 2008 +0000 +++ b/aac.h Mon Aug 18 19:39:08 2008 +0000 @@ -232,6 +232,14 @@ /** @} */ /** + * @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. * @{ */ diff -r 87f68803080a -r 850a1625bee4 aacdectab.h --- a/aacdectab.h Mon Aug 18 12:03:59 2008 +0000 +++ b/aacdectab.h Mon Aug 18 19:39:08 2008 +0000 @@ -156,4 +156,19 @@ // @} +/* @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 */