Tweaking to the AGC to handle really low volume input properly.
[speexdsp.git] / tmv / config.h
1 #ifndef _CONFIG_H_\r
2 #define _CONFIG_H_\r
3 \r
4 #define USE_COMPACT_KISS_FFT\r
5 //#define USE_KISS_FFT\r
6 \r
7 #ifdef WIN32\r
8 \r
9 //#define               FIXED_POINT\r
10 \r
11 #define         inline __inline\r
12 #define         restrict\r
13 \r
14 #elif defined (__TCS__)\r
15 \r
16 #define         FIXED_POINT\r
17 #define         PREPROCESS_MDF_FLOAT\r
18 #define         TM_ASM\r
19 \r
20 #define         TM_DEBUGMEM_ALIGNNMENT                                          1\r
21 \r
22 #define         TM_PROFILE                                                                      1       \r
23 #define         TM_PROFILE_FIRMEM16                                                     0       \r
24 #define         TM_PROFILE_IIRMEM16                                                     0       \r
25 #define         TM_PROFILE_FILTERMEM16                                          0       \r
26 #define         TM_PROFILE_VQNBEST                                                      0       \r
27 #define         TM_PROFILE_VQNBESTSIGN                                          0       \r
28 #define         TM_PROFILE_COMPUTEQUANTWEIGHTS                          0       \r
29 #define         TM_PROFILE_LSPQUANT                                                     0       \r
30 #define         TM_PROFILE_LSPWEIGHTQUANT                                       0\r
31 #define         TM_PROFILE_LSPENFORCEMARGIN                                     0\r
32 #define         TM_PROFILE_LSPTOLPC                                                     0\r
33 #define         TM_PROFILE_INNERPROD                                            0       \r
34 #define         TM_PROFILE_PITCHXCORR                                           0       \r
35 #define         TM_PROFILE_LSP_INTERPOLATE                                      0       \r
36 #define         TM_PROFILE_CHEBPOLYEVA                                          0       \r
37 #define         TM_PROFILE_COMPUTEWEIGHTEDCODEBOOK                      0       \r
38 #define         TM_PROFILE_TARGETUPDATE                                         0       \r
39 #define         TM_PROFILE_SPXAUTOCORR                                          0\r
40 #define         TM_PROFILE_COMPUTEPITCHERROR                            0\r
41 #define         TM_PROFILE_COMPUTERMS16                                         0\r
42 #define         TM_PROFILE_NORMALIZE16                                          0\r
43 #define         TM_PROFILE_BWLPC                                                        0\r
44 #define         TM_PROFILE_HIGHPASS                                                     0\r
45 #define         TM_PROFILE_SIGNALMUL                                            0\r
46 #define         TM_PROFILE_SIGNALDIV                                            0\r
47 #define         TM_PROFILE_COMPUTEIMPULSERESPONSE                       0\r
48 #define         TM_PROFILE_PITCHGAINSEARCH3TAPVQ                        0\r
49 #define         TM_PROFILE_OPENLOOPNBESTPITCH                           0\r
50 #define         TM_PROFILE_PREPROCESSANALYSIS                           0\r
51 #define         TM_PROFILE_UPDATENOISEPROB                                      0\r
52 #define         TM_PROFILE_COMPUTEGAINFLOOR                                     0\r
53 #define         TM_PROFILE_FILTERDCNOTCH16                                      0\r
54 #define         TM_PROFILE_MDFINNERPROD                                         0\r
55 #define         TM_PROFILE_SPECTRALMULACCUM                                     0\r
56 #define         TM_PROFILE_WEIGHTEDSPECTRALMULCONJ                      0\r
57 #define         TM_PROFILE_MDFADJUSTPROP                                        0\r
58 #define         TM_PROFILE_SPEEXECHOGETRESIDUAL                         0\r
59 #define         TM_PROFILE_MAXIMIZERANGE                                        0\r
60 #define         TM_PROFILE_RENORMRANGE                                          0\r
61 #define         TM_PROFILE_POWERSPECTRUM                                        0\r
62 #define         TM_PROFILE_QMFSYNTH                                                     0\r
63 #define         TM_PROFILE_QMFDECOMP                                            0\r
64 #define         TM_PROFILE_FILTERBANKCOMPUTEBANK32                      0\r
65 #define         TM_PROFILE_FILTERBANKCOMPUTEPSD16                       0\r
66 \r
67 #define         TM_UNROLL                                                                       1\r
68 #define         TM_UNROLL_FILTER                                                        1\r
69 #define         TM_UNROLL_IIR                                                           1\r
70 #define         TM_UNROLL_FIR                                                           1\r
71 #define         TM_UNROLL_HIGHPASS                                                      1\r
72 #define         TM_UNROLL_SIGNALMUL                                                     1\r
73 #define         TM_UNROLL_SIGNALDIV                                                     1\r
74 #define         TM_UNROLL_VQNBEST                                                       1\r
75 #define         TM_UNROLL_VQSIGNNBEST                                           1\r
76 #define         TM_UNROLL__SPXAUTOCORR                                          1\r
77 #define         TM_UNROLL_COMPUTERMS16                                          1\r
78 #define         TM_UNROLL_COMPUTEIMPULSERESPONSE                        1\r
79 #define         TM_UNROLL_QMFSYNTH                                                      1\r
80 #define         TM_UNROLL_PITCHGAINSEARCH3TAPVQ                         1\r
81 #define         TM_UNROLL_OPENLOOPNBESTPITCH                            1\r
82 #define         TM_UNROLL_FILTERBANKCOMPUTEBANK32                       1\r
83 #define         TM_UNROLL_FILTERBANKCOMPUTEPSD16                        1\r
84 #define         TM_UNROLL_SPEEXPREPROCESSRUN                            1\r
85 #define         TM_UNROLL_PREPROCESSANALYSIS                            1\r
86 #define         TM_UNROLL_UPDATENOISEPROB                                       1\r
87 #define         TM_UNROLL_COMPUTEGAINFLOOR                                      1\r
88 #define         TM_UNROLL_SPEEXECHOGETRESIDUAL                          1\r
89 #define         TM_UNROLL_SPEEXECHOCANCELLATION                         1\r
90 #define         TM_UNROLL_FILTERDCNOTCH16                                       1\r
91 #define         TM_UNROLL_MDFINNERPRODUCT                                       1\r
92 #define         TM_UNROLL_SPECTRALMULACCUM                                      1\r
93 #define         TM_UNROLL_MDFADJUSTPROP                                         1\r
94 \r
95 #endif\r
96 \r
97 #endif\r
98 \r