sqrt_l.tab 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. ********************************************************************************
  3. *
  4. * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
  5. * R99 Version 3.3.0
  6. * REL-4 Version 4.1.0
  7. *
  8. ********************************************************************************
  9. *
  10. * File : sqrt_l.tab
  11. * Purpose : Table for routine sqrt_l_exp()
  12. * $Id $
  13. *
  14. ********************************************************************************
  15. */
  16. /* table[i] = sqrt((i+16)*2^-6) * 2^15, i.e. sqrt(x) scaled Q15 */
  17. static const Word16 table[49] =
  18. {
  19. 16384,
  20. 16888,
  21. 17378,
  22. 17854,
  23. 18318,
  24. 18770,
  25. 19212,
  26. 19644,
  27. 20066,
  28. 20480,
  29. 20886,
  30. 21283,
  31. 21674,
  32. 22058,
  33. 22435,
  34. 22806,
  35. 23170,
  36. 23530,
  37. 23884,
  38. 24232,
  39. 24576,
  40. 24915,
  41. 25249,
  42. 25580,
  43. 25905,
  44. 26227,
  45. 26545,
  46. 26859,
  47. 27170,
  48. 27477,
  49. 27780,
  50. 28081,
  51. 28378,
  52. 28672,
  53. 28963,
  54. 29251,
  55. 29537,
  56. 29819,
  57. 30099,
  58. 30377,
  59. 30652,
  60. 30924,
  61. 31194,
  62. 31462,
  63. 31727,
  64. 31991,
  65. 32252,
  66. 32511,
  67. 32767
  68. };