Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
1.8 KiB

  1. //No CRC codes
  2. // PhilF: Remove the three following arrays since the SID
  3. // code does not know how to make a good use of them today.
  4. #if 0
  5. extern const unsigned r63Noise[6*4]={
  6. 0x00000000,
  7. 0x00000000,
  8. 0x00000000,
  9. 0x00000000,
  10. 0x00000000,
  11. 0x00000000,
  12. 0x00000000,
  13. 0x00000000,
  14. 0x00000000,
  15. 0x00000000,
  16. 0x00000000,
  17. 0x00000000,
  18. 0x00000000,
  19. 0x00000000,
  20. 0x00000000,
  21. 0x00000000,
  22. 0x00000000,
  23. 0x00000000,
  24. 0x00000000,
  25. 0x00000000,
  26. 0x00000000,
  27. 0x00000000,
  28. 0x00000000,
  29. 0x00000000
  30. } ;
  31. //padded with ABABABAB
  32. extern const unsigned r53Noise[6*4] = {
  33. 0x00000001,
  34. 0x00000000,
  35. 0x00000000,
  36. 0x00000000,
  37. 0x00000000,
  38. 0xABABABAB,
  39. 0x00000001,
  40. 0x00000000,
  41. 0x00000000,
  42. 0x00000000,
  43. 0x00000000,
  44. 0xABABABAB,
  45. 0x00000001,
  46. 0x00000000,
  47. 0x00000000,
  48. 0x00000000,
  49. 0x00000000,
  50. 0xABABABAB,
  51. 0x00000001,
  52. 0x00000000,
  53. 0x00000000,
  54. 0x00000000,
  55. 0x00000000,
  56. 0xABABABAB,
  57. } ;
  58. extern const unsigned SIDFrame[1] = { 0x00000002 };
  59. #endif
  60. const float Squelch[16] = {70.0f, /* default */
  61. 10.0f, 20.0f, 30.0f, 40.0f, 50.0f, 60.0f, 70.0f, 80.0f,
  62. 90.0f, 100.0f, 110.0f, 120.0f, 130.0f, 140.0f, 150.0f};
  63. const float A[6] =
  64. {1.0f,
  65. -2.554910873842f,
  66. -3.054788425308f,
  67. -1.813794458661f,
  68. -0.521075856868f,
  69. 0.0055927932689f};
  70. const float B[6] =
  71. {0.290838380294f,
  72. 1.407780344969f,
  73. 2.770702115733f,
  74. 2.770702115733f,
  75. 1.407780344969f,
  76. 0.290838380294f};
  77. const float HhpNumer[4]={
  78. 0.959696f, -2.879088f, 2.879088f, -0.959696f};
  79. const float HhpDenom[3]={
  80. 2.918062872f, -2.838800222f, 0.9207012679f};
  81. const float Binomial80[] = {
  82. 1.000000f,
  83. 0.999644f, 0.998577f, 0.996802f, 0.994321f, 0.991141f,
  84. 0.987268f, 0.982710f, 0.977478f, 0.971581f, 0.965032f
  85. };