Mercurial > libavcodec.hg
diff aacdectab.h @ 7608:850a1625bee4 libavcodec
More OKed AAC decoder code hunks
| author | superdump |
|---|---|
| date | Mon, 18 Aug 2008 19:39:08 +0000 |
| parents | a3f7ffdb676d |
| children | 3f6fc60f1ed3 |
line wrap: on
line diff
--- 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 */
