summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/sbr_dec.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-24 13:54:02 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-24 13:54:02 +0000
commit15e9053afbcb6f4b0b42739197a7eca40007e093 (patch)
tree821b4249b5522992da3db1b27b00d34a21448ab6 /apps/codecs/libfaad/sbr_dec.h
parent22719955179d95279474913ccadd4c1a6efceca6 (diff)
downloadrockbox-15e9053afbcb6f4b0b42739197a7eca40007e093.tar.gz
rockbox-15e9053afbcb6f4b0b42739197a7eca40007e093.zip
Clean up array sizes in the SBR + PS part of libfaad. Add MAX_NTSRPS (=38), use MAX_NTSR and MAX_NTSRHFG at the right places. RAM (IRAM) usage is reduced by 2 KB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29773 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/sbr_dec.h')
-rw-r--r--apps/codecs/libfaad/sbr_dec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/sbr_dec.h b/apps/codecs/libfaad/sbr_dec.h
index 25b3e37f52..aa145fe34a 100644
--- a/apps/codecs/libfaad/sbr_dec.h
+++ b/apps/codecs/libfaad/sbr_dec.h
@@ -39,8 +39,7 @@ extern "C" {
39#include "drm_dec.h" 39#include "drm_dec.h"
40#endif 40#endif
41 41
42/* MAX_NTSRHFG: maximum of number_time_slots * rate + HFGen. 16*2+8 */ 42#define MAX_NTSRHFG 40 /* maximum of number_time_slots * rate + HFGen. 16*2+8 */
43#define MAX_NTSRHFG 40
44#define MAX_NTSR 32 /* max number_time_slots * rate, ok for DRM and not DRM mode */ 43#define MAX_NTSR 32 /* max number_time_slots * rate, ok for DRM and not DRM mode */
45 44
46/* MAX_M: maximum value for M */ 45/* MAX_M: maximum value for M */