18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* Data structs */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_cistatic const u16 asEqCoefsZeros[50] = { 58c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 68c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 88c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 98c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 108c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 118c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 128c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 138c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 148c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 158c2ecf20Sopenharmony_ci}; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cistatic const u16 asEqCoefsPipes[64] = { 188c2ecf20Sopenharmony_ci 0x0000, 0x0000, 198c2ecf20Sopenharmony_ci 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 208c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 218c2ecf20Sopenharmony_ci 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 228c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 238c2ecf20Sopenharmony_ci 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 248c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 258c2ecf20Sopenharmony_ci 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 268c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 278c2ecf20Sopenharmony_ci 0x0000, 0x0666, 0x0000, 0x0000, 0x066a, 288c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 318c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 328c2ecf20Sopenharmony_ci 0x0000, 0x0000 338c2ecf20Sopenharmony_ci}; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci/* More coef sets can be found in the win2k "inf" file. */ 368c2ecf20Sopenharmony_cistatic const auxxEqCoeffSet_t asEqCoefsNormal = { 378c2ecf20Sopenharmony_ci .LeftCoefs = { 388c2ecf20Sopenharmony_ci 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001, 398c2ecf20Sopenharmony_ci 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1, 408c2ecf20Sopenharmony_ci 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e, 418c2ecf20Sopenharmony_ci 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1, 428c2ecf20Sopenharmony_ci 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4, 438c2ecf20Sopenharmony_ci 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99, 448c2ecf20Sopenharmony_ci 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c, 458c2ecf20Sopenharmony_ci 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082, 468c2ecf20Sopenharmony_ci 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d, 478c2ecf20Sopenharmony_ci 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b}, 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci .RightCoefs = { 508c2ecf20Sopenharmony_ci 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001, 518c2ecf20Sopenharmony_ci 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1, 528c2ecf20Sopenharmony_ci 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e, 538c2ecf20Sopenharmony_ci 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1, 548c2ecf20Sopenharmony_ci 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4, 558c2ecf20Sopenharmony_ci 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99, 568c2ecf20Sopenharmony_ci 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c, 578c2ecf20Sopenharmony_ci 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082, 588c2ecf20Sopenharmony_ci 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d, 598c2ecf20Sopenharmony_ci 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b}, 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci .LeftGains = { 628c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 638c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}, 648c2ecf20Sopenharmony_ci .RightGains = { 658c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 668c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96} 678c2ecf20Sopenharmony_ci}; 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_cistatic const u16 eq_gains_normal[20] = { 708c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 718c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 728c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 738c2ecf20Sopenharmony_ci 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 748c2ecf20Sopenharmony_ci}; 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci/* _rodatab60 */ 778c2ecf20Sopenharmony_cistatic const u16 eq_gains_zero[10] = { 788c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 798c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 808c2ecf20Sopenharmony_ci}; 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ci/* _rodatab7c: ProgramPipe */ 838c2ecf20Sopenharmony_cistatic const u16 eq_gains_current[12] = { 848c2ecf20Sopenharmony_ci 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 858c2ecf20Sopenharmony_ci 0x7fff, 868c2ecf20Sopenharmony_ci 0x7fff, 0x7fff, 0x7fff 878c2ecf20Sopenharmony_ci}; 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci/* _rodatab78 */ 908c2ecf20Sopenharmony_cistatic const u16 eq_states_zero[2] = { 0x0000, 0x0000 }; 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_cistatic const u16 asEqOutStateZeros[48] = { 938c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 948c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 958c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 968c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 978c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 988c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 998c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 1008c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 1018c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 1028c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 1038c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 1048c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000 1058c2ecf20Sopenharmony_ci}; 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci/*_rodataba0:*/ 1088c2ecf20Sopenharmony_cistatic const u16 eq_levels[64] = { 1098c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1108c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1118c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1128c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1138c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1148c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1158c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 1168c2ecf20Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 1178c2ecf20Sopenharmony_ci}; 118