FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / libtremor / config-tremor.h
blobd360b5fd73488b92c5fc504d532a7d71a3ddd8c5
1 #include "codeclib.h"
2 #ifdef CPU_ARM
3 #define _ARM_ASSEM_
4 #endif
6 #ifdef ROCKBOX_BIG_ENDIAN
7 #define BIG_ENDIAN 1
8 #define LITTLE_ENDIAN 0
9 #define BYTE_ORDER BIG_ENDIAN
10 #else
11 #define BYTE_ORDER LITTLE_ENDIAN
12 #define LITTLE_ENDIAN 1
13 #define BIG_ENDIAN 0
14 #endif
16 #ifndef ICODE_ATTR_TREMOR_MDCT
17 #define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
18 #endif
20 #ifndef ICODE_ATTR_TREMOR_NOT_MDCT
21 #define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
22 #endif
24 /* Define CPU of large IRAM (MCF5250) */
25 #if (CONFIG_CPU == MCF5250)
26 /* PCM_BUFFER : 32768 Byte (4096*2*4) *
27 * WINDOW_LOOKUP : 4608 Byte (128*4 + 1024*4) *
28 * TOTAL : 37376 */
29 #define IRAM_IBSS_SIZE 37376
31 /* Define CPU of large IRAM (PP5022/5024) */
32 #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
33 /* PCM_BUFFER : 32768 byte (4096*2*4 or 2048*4*4) *
34 * WINDOW_LOOKUP : 9216 Byte (256*4 + 2048*4) *
35 * TOTAL : 41984 */
36 #define IRAM_IBSS_SIZE 41984
38 /* Define CPU of Normal IRAM (96KB) (and SIM also) */
39 #else
40 /* PCM_BUFFER : 16384 Byte (2048*2*4) *
41 * WINDOW_LOOKUP : 4608 Byte (128*4 + 1024*4) *
42 * TOTAL : 20992 */
43 #define IRAM_IBSS_SIZE 20992
44 #endif
46 /* max 2 channels */
47 #define CHANNELS 2
49 // #define _LOW_ACCURACY_