au88x0_eqdata.c 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // SPDX-License-Identifier: GPL-2.0
  2. /* Data structs */
  3. static u16 asEqCoefsZeros[50] = {
  4. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  5. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  6. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  7. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  8. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  9. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  10. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  11. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  12. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  13. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  14. };
  15. static u16 asEqCoefsPipes[64] = {
  16. 0x0000, 0x0000,
  17. 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
  18. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  19. 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
  20. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  21. 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
  22. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23. 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
  24. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  25. 0x0000, 0x0666, 0x0000, 0x0000, 0x066a,
  26. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  27. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  28. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  29. 0x0000, 0x0000
  30. };
  31. /* More coef sets can be found in the win2k "inf" file. */
  32. static auxxEqCoeffSet_t asEqCoefsNormal = {
  33. .LeftCoefs = {
  34. 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
  35. 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
  36. 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
  37. 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
  38. 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
  39. 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
  40. 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
  41. 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
  42. 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
  43. 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
  44. .RightCoefs = {
  45. 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
  46. 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
  47. 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
  48. 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
  49. 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
  50. 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
  51. 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
  52. 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
  53. 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
  54. 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
  55. .LeftGains = {
  56. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
  57. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96},
  58. .RightGains = {
  59. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
  60. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}
  61. };
  62. static u16 eq_gains_normal[20] = {
  63. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
  64. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
  65. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
  66. 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96
  67. };
  68. /* _rodatab60 */
  69. static u16 eq_gains_zero[10] = {
  70. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  71. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
  72. };
  73. /* _rodatab7c: ProgramPipe */
  74. static u16 eq_gains_current[12] = {
  75. 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
  76. 0x7fff,
  77. 0x7fff, 0x7fff, 0x7fff
  78. };
  79. /* _rodatab78 */
  80. static u16 eq_states_zero[2] = { 0x0000, 0x0000 };
  81. static u16 asEqOutStateZeros[48] = {
  82. 0x0000, 0x0000, 0x0000, 0x0000,
  83. 0x0000, 0x0000, 0x0000, 0x0000,
  84. 0x0000, 0x0000, 0x0000, 0x0000,
  85. 0x0000, 0x0000, 0x0000, 0x0000,
  86. 0x0000, 0x0000, 0x0000, 0x0000,
  87. 0x0000, 0x0000, 0x0000, 0x0000,
  88. 0x0000, 0x0000, 0x0000, 0x0000,
  89. 0x0000, 0x0000, 0x0000, 0x0000,
  90. 0x0000, 0x0000, 0x0000, 0x0000,
  91. 0x0000, 0x0000, 0x0000, 0x0000,
  92. 0x0000, 0x0000, 0x0000, 0x0000,
  93. 0x0000, 0x0000, 0x0000, 0x0000
  94. };
  95. /*_rodataba0:*/
  96. static u16 eq_levels[64] = {
  97. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  98. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  99. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  100. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  101. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  102. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  103. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  104. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
  105. };