config.h 3.2 KB

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