Speed improvements (got rid of a couple divide ops), cleanup...
[speexdsp.git] / libspeex / gain_table.c
1 float gain_cdbk_nb[] = {
2 -0.0835367,-0.551418,0.308789,-0.167073,-1.10284,0.617578,-0.0921273,0.340544,0.0515904,-0.00697838,-0.304062,-0.095350,
3 -0.0113288,1.1138,-0.00677945,-0.0226576,2.2276,-0.0135589,0.025236,0.0151019,-0.000153606,-0.000128342,-1.24055,-4.59609e-0,
4 -0.329528,0.415655,-0.202465,-0.659056,0.83131,-0.40493,0.27394,0.168311,-0.133436,-0.108589,-0.172769,-0.040992,
5 0.252626,0.868252,-0.11296,0.505252,1.7365,-0.22592,-0.438686,0.196155,0.0570733,-0.0638199,-0.753862,-0.0127,
6 0.302641,-0.46334,0.0337584,0.605282,-0.92668,0.0675168,0.280451,0.0312832,-0.0204334,-0.0915916,-0.214684,-0.0011396,
7 -0.525935,0.91423,0.017383,-1.05187,1.82846,0.034766,0.961651,-0.0317841,0.0182847,-0.276608,-0.835816,-0.00030216,
8 0.282038,0.0840179,0.268353,0.564076,0.168036,0.536706,-0.0473925,-0.0450929,-0.151371,-0.0795454,-0.00705901,-0.072013,
9 0.313786,0.535252,-0.369231,0.627572,1.0705,-0.738462,-0.335909,0.395263,0.231719,-0.0984617,-0.286495,-0.13633,
10 0.27669,-0.523893,-0.299434,0.55338,-1.04779,-0.598868,0.289912,-0.313743,0.165701,-0.0765574,-0.274464,-0.089660,
11 -0.125827,0.791536,0.108779,-0.251654,1.58307,0.217558,0.199193,-0.172205,0.0273747,-0.0158324,-0.626529,-0.011832,
12 0.0571856,0.840065,-0.532651,0.114371,1.68013,-1.0653,-0.0960792,0.894923,0.0609199,-0.00327019,-0.705709,-0.28371,
13 0.149074,0.452369,-0.00631503,0.298148,0.904738,-0.0126301,-0.134873,0.00571345,0.00188281,-0.0222231,-0.204638,-3.98796e-0,
14 -0.262684,-0.355641,0.201628,-0.525368,-0.711282,0.403256,-0.186842,0.143414,0.105929,-0.0690029,-0.126481,-0.040653,
15 -0.291021,0.407483,0.26212,-0.582042,0.814966,0.52424,0.237172,-0.213619,0.152565,-0.0846932,-0.166042,-0.068706,
16 0.13806,0.14114,0.125357,0.27612,0.28228,0.250714,-0.0389716,-0.0353858,-0.0346136,-0.0190606,-0.0199205,-0.015714,
17 0.527793,0.661201,-0.212787,1.05559,1.3224,-0.425574,-0.697955,0.28139,0.224615,-0.278565,-0.437187,-0.045278,
18 0.154056,-0.214349,0.164432,0.308112,-0.428698,0.328864,0.0660435,0.0704917,-0.0506635,-0.0237333,-0.0459455,-0.027037,
19 0.0120761,0.960133,-0.0070357,0.0241522,1.92027,-0.0140714,-0.0231893,0.0135104,0.000169928,-0.000145832,-0.921855,-4.95011e-0,
20 -0.122786,0.47906,-0.368261,-0.245572,0.95812,-0.736522,0.117644,0.352838,-0.0904346,-0.0150764,-0.229498,-0.13561,
21 0.0868574,1.07242,-0.148461,0.173715,2.14484,-0.296922,-0.186295,0.318425,0.0257899,-0.00754421,-1.15008,-0.022040,
22 -0.141727,-0.31882,0.00269713,-0.283454,-0.63764,0.00539426,-0.0903708,0.0017198,0.000764512,-0.0200865,-0.101646,-7.27451e-0,
23 -0.0730263,0.794255,0.250746,-0.146053,1.58851,0.501492,0.116003,-0.398313,0.0366221,-0.00533284,-0.630841,-0.062873,
24 0.172625,0.263122,0.282431,0.34525,0.526244,0.564862,-0.0908429,-0.148628,-0.0975093,-0.0297994,-0.0692332,-0.079767,
25 0.343943,0.634859,0.0239209,0.687886,1.26972,0.0478418,-0.436711,-0.0303728,-0.0164549,-0.118297,-0.403046,-0.00057220,
26 0.189343,-0.69774,0.0241036,0.378686,-1.39548,0.0482072,0.264224,0.0336361,-0.0091277,-0.0358508,-0.486841,-0.00058098,
27 0.00695874,0.783606,0.0104012,0.0139175,1.56721,0.0208024,-0.0109058,-0.0163009,-0.000144758,-4.84241e-05,-0.614038,-0.00010818,
28 -0.189688,0.350888,-0.0109644,-0.379376,0.701776,-0.0219288,0.133118,0.00769455,-0.00415963,-0.0359815,-0.123122,-0.00012021,
29 0.149356,0.546013,0.29965,0.298712,1.09203,0.5993,-0.163101,-0.327226,-0.0895091,-0.0223072,-0.29813,-0.089790,
30 -0.0704944,-0.468163,-0.305077,-0.140989,-0.936326,-0.610154,-0.0660057,-0.285652,-0.0430124,-0.00496946,-0.219177,-0.09307,
31 -0.177064,0.658498,0.530958,-0.354128,1.317,1.06192,0.233193,-0.69927,0.188027,-0.0313517,-0.43362,-0.28191,
32 0.026998,0.0969227,0.0184398,0.053996,0.193845,0.0368796,-0.00523344,-0.00357447,-0.000995675,-0.000728892,-0.00939401,-0.00034002,
33 0.483163,0.574196,-0.0542726,0.966326,1.14839,-0.108545,-0.554861,0.0623262,0.052445,-0.233446,-0.329701,-0.0029455,
34 -0.0120126,-0.349254,0.175344,-0.0240252,-0.698508,0.350688,-0.0083909,0.122479,0.00421267,-0.000144303,-0.121978,-0.030745,
35 -0.128498,0.90756,-0.183164,-0.256996,1.81512,-0.366328,0.233239,0.332465,-0.0470724,-0.0165117,-0.823665,-0.033549,
36 -0.471804,0.352014,-0.49458,-0.943608,0.704028,-0.98916,0.332163,0.348198,-0.46669,-0.222599,-0.123914,-0.24460,
37 0.129794,0.94913,-0.0962774,0.259588,1.89826,-0.192555,-0.246383,0.18276,0.0249925,-0.0168465,-0.900848,-0.0092693,
38 0.00141897,-0.202971,0.000190774,0.00283794,-0.405942,0.000381548,0.00057602,7.74432e-05,-5.41405e-07,-2.01348e-06,-0.0411972,-3.63947e-0,
39 -0.248142,0.73736,0.275587,-0.496284,1.47472,0.551174,0.36594,-0.406414,0.136769,-0.0615745,-0.5437,-0.075948,
40 0.283302,0.273483,0.177215,0.566604,0.546966,0.35443,-0.154957,-0.0969306,-0.100411,-0.08026,-0.074793,-0.031405,
41 0.264314,0.754669,-0.0186371,0.528628,1.50934,-0.0372742,-0.398939,0.0281297,0.00985209,-0.0698619,-0.569525,-0.00034734,
42 0.0334528,-0.466391,-0.0836871,0.0669056,-0.932782,-0.167374,0.0312042,-0.0780618,0.00559914,-0.00111909,-0.217521,-0.0070035,
43 -0.116798,1.02104,0.0885608,-0.233596,2.04208,0.177122,0.238511,-0.180848,0.0206874,-0.0136418,-1.04252,-0.0078430,
44 -0.361083,0.583672,0.0205782,-0.722166,1.16734,0.0411564,0.421508,-0.0240218,0.0148609,-0.130381,-0.340673,-0.00042346,
45 0.00695965,0.52519,-0.014762,0.0139193,1.05038,-0.029524,-0.00731028,0.0155057,0.000205477,-4.84367e-05,-0.275825,-0.00021791,
46 -0.125383,-0.527224,0.0312592,-0.250766,-1.05445,0.0625184,-0.13221,0.0329612,0.00783874,-0.0157209,-0.277965,-0.00097713,
47 0.0364032,0.496502,0.453268,0.0728064,0.993004,0.906536,-0.0361485,-0.450097,-0.0330008,-0.00132519,-0.246514,-0.20545,
48 0.261375,0.352348,0.0362082,0.52275,0.704696,0.0724164,-0.18419,-0.0255158,-0.0189278,-0.0683169,-0.124149,-0.0013110,
49 0.387433,0.968697,-0.348807,0.774866,1.93739,-0.697614,-0.75061,0.675777,0.270279,-0.150104,-0.938374,-0.12166,
50 0.526889,-0.406021,0.550916,1.05378,-0.812042,1.10183,0.427856,0.447367,-0.580543,-0.277612,-0.164853,-0.30350,
51 -0.0201473,0.926353,0.094649,-0.0402946,1.85271,0.189298,0.037327,-0.175357,0.00381384,-0.000405914,-0.85813,-0.0089584,
52 -0.0324727,0.371984,-0.168088,-0.0649454,0.743968,-0.336176,0.0241586,0.125052,-0.0109165,-0.00105448,-0.138372,-0.028253,
53 -0.0342151,1.28198,-0.303342,-0.0684302,2.56396,-0.606684,0.0877261,0.777757,-0.0207578,-0.00117067,-1.64347,-0.092016,
54 -0.249713,-0.174371,-0.181183,-0.499426,-0.348742,-0.362366,-0.0870854,-0.0631861,-0.0904875,-0.0623566,-0.0304052,-0.032827,
55 -0.113929,0.735418,0.372056,-0.227858,1.47084,0.744112,0.167571,-0.547233,0.0847759,-0.0129798,-0.54084,-0.13842,
56 0.182865,0.39086,0.424518,0.36573,0.78172,0.849036,-0.142949,-0.331854,-0.155259,-0.0334396,-0.152772,-0.18021,
57 0.458371,0.263759,0.267603,0.916742,0.527518,0.535206,-0.241799,-0.141165,-0.245323,-0.210104,-0.0695688,-0.071611,
58 0.176407,-1.15397,0.185397,0.352814,-2.30794,0.370794,0.407137,0.427885,-0.0654107,-0.0311194,-1.33165,-0.03437,
59 0.129757,0.888182,0.0106701,0.259514,1.77636,0.0213402,-0.230496,-0.018954,-0.00276904,-0.0168369,-0.788867,-0.00011385,
60 -0.0816914,0.34195,0.188348,-0.163383,0.6839,0.376696,0.0558687,-0.128811,0.0307728,-0.00667348,-0.11693,-0.03547,
61 0.0361682,0.819199,0.156563,0.0723364,1.6384,0.313126,-0.0592579,-0.256513,-0.0113252,-0.00130814,-0.671087,-0.02451,
62 -0.30052,-0.299784,-0.334056,-0.60104,-0.599568,-0.668112,-0.180182,-0.200289,-0.200781,-0.0903123,-0.0898704,-0.11159,
63 -0.337084,0.754302,0.561453,-0.674168,1.5086,1.12291,0.508526,-0.84701,0.378514,-0.113626,-0.568972,-0.31522,
64 0.110344,0.25692,-0.0358049,0.220688,0.51384,-0.0716098,-0.0566992,0.018398,0.00790171,-0.0121758,-0.0660079,-0.0012819,
65 0.409419,0.755356,-0.137551,0.818838,1.51071,-0.275102,-0.618514,0.2078,0.112632,-0.167624,-0.570563,-0.018920,
66 -0.279742,-0.838229,0.444577,-0.559484,-1.67646,0.889154,-0.468976,0.745315,0.248734,-0.0782556,-0.702628,-0.19764,
67 -0.00139772,1.19865,-0.00139142,-0.00279544,2.3973,-0.00278284,0.00335075,0.00333565,-3.88963e-06,-1.95362e-06,-1.43676,-1.93605e-0,
68 -0.219368,0.223393,-0.235062,-0.438736,0.446786,-0.470124,0.0980106,0.105022,-0.10313,-0.0481223,-0.0499044,-0.055254,
69 0.265489,0.744652,-0.163906,0.530978,1.4893,-0.327812,-0.395394,0.244106,0.0870305,-0.0704844,-0.554507,-0.026865,
70 0.129166,-0.336387,0.029217,0.258332,-0.672774,0.058434,0.0868995,0.0196564,-0.00754769,-0.0166839,-0.113156,-0.00085363,
71 -0.279395,1.13197,0.174922,-0.55879,2.26394,0.349844,0.632534,-0.396013,0.0977447,-0.0780616,-1.28136,-0.030597,
72 0.465391,0.00413588,0.466138,0.930782,0.00827176,0.932276,-0.0038496,-0.00385578,-0.433873,-0.216589,-1.71055e-05,-0.21728,
73 0.216105,0.592293,-0.0902254,0.43221,1.18459,-0.180451,-0.255995,0.10688,0.0389963,-0.0467014,-0.350811,-0.0081406,
74 0.416302,-0.888743,-0.211615,0.832604,-1.77749,-0.42323,0.739971,-0.376143,0.176191,-0.173307,-0.789864,-0.044780,
75 -0.0901889,0.90439,0.181285,-0.180378,1.80878,0.36257,0.163132,-0.327905,0.0326998,-0.00813404,-0.817921,-0.032864,
76 -0.401604,0.740389,-0.398883,-0.803208,1.48078,-0.797766,0.594686,0.590657,-0.320386,-0.161286,-0.548176,-0.15910,
77 0.0545025,0.528413,0.154116,0.109005,1.05683,0.308232,-0.0575997,-0.162874,-0.0167994,-0.00297052,-0.27922,-0.023751,
78 -0.375791,-0.59267,0.116821,-0.751582,-1.18534,0.233642,-0.44544,0.138473,0.0878006,-0.141219,-0.351258,-0.013647,
79 -0.0552678,0.491509,0.303215,-0.110536,0.983018,0.60643,0.0543292,-0.298066,0.0335161,-0.00305453,-0.241581,-0.091939,
80 0.106225,0.288451,0.133849,0.21245,0.576902,0.267698,-0.0612814,-0.0772178,-0.0284362,-0.0112838,-0.083204,-0.017915,
81 0.543973,0.789725,-0.329006,1.08795,1.57945,-0.658012,-0.859178,0.519649,0.357941,-0.295907,-0.623666,-0.10824,
82 0.319605,-0.283423,0.284489,0.63921,-0.566846,0.568978,0.181167,0.161261,-0.181848,-0.102147,-0.0803286,-0.08093,
83 0.00153946,1.03402,-0.00193658,0.00307892,2.06804,-0.00387316,-0.00318366,0.00400492,5.96257e-06,-2.36994e-06,-1.0692,-3.75034e-0,
84 0.0585713,0.615447,-0.233984,0.117143,1.23089,-0.467968,-0.0720951,0.28801,0.0274095,-0.0034306,-0.378775,-0.054748,
85 0.233006,0.960139,-0.199943,0.466012,1.92028,-0.399886,-0.447436,0.383946,0.0931758,-0.0542918,-0.921867,-0.039977,
86 -0.072204,-0.297819,-0.166072,-0.144408,-0.595638,-0.332144,-0.0430074,-0.0989188,-0.0239821,-0.00521342,-0.0886962,-0.027579,
87 -0.168131,0.871075,0.31078,-0.336262,1.74215,0.62156,0.292909,-0.541425,0.104504,-0.028268,-0.758772,-0.096584,
88 0.063543,0.392442,0.274186,0.127086,0.784884,0.548372,-0.0498739,-0.215204,-0.0348452,-0.00403771,-0.154011,-0.07517,
89 0.265409,0.543113,0.125965,0.530818,1.08623,0.25193,-0.288294,-0.136826,-0.0668645,-0.0704419,-0.294972,-0.015867,
90 0.493319,-0.732808,0.214881,0.986638,-1.46562,0.429762,0.723016,0.314933,-0.21201,-0.243364,-0.537008,-0.046173,
91 0.00333244,0.667791,-0.00225985,0.00666488,1.33558,-0.0045197,-0.00445075,0.00301821,1.50616e-05,-1.11052e-05,-0.445945,-5.10692e-0,
92 -0.126584,0.520066,0.111321,-0.253168,1.04013,0.222642,0.131664,-0.115789,0.0281829,-0.0160235,-0.270469,-0.012392,
93 0.176282,0.673591,0.174415,0.352564,1.34718,0.34883,-0.237484,-0.234969,-0.0614925,-0.0310753,-0.453725,-0.030420,
94 -0.00289298,-0.692194,-0.216093,-0.00578596,-1.38439,-0.432186,-0.00400501,-0.299157,-0.00125031,-8.36933e-06,-0.479133,-0.046696,
95 -0.183322,0.56588,0.405543,-0.366644,1.13176,0.811086,0.207477,-0.458977,0.14869,-0.033607,-0.32022,-0.16446,
96 -0.0273091,0.219592,0.0806131,-0.0546182,0.439184,0.161226,0.0119937,-0.035404,0.00440294,-0.000745787,-0.0482206,-0.0064984,
97 0.337531,0.473932,-0.0585394,0.675062,0.947864,-0.117079,-0.319933,0.0554874,0.0395177,-0.113927,-0.224612,-0.0034268,
98 0.0758383,-0.523449,0.117991,0.151677,-1.0469,0.235982,0.079395,0.123525,-0.0178965,-0.00575145,-0.273999,-0.013921,
99 -0.256515,1.27713,-0.0594036,-0.51303,2.55426,-0.118807,0.655206,0.151732,-0.0304758,-0.0657999,-1.63106,-0.0035287,
100 -0.431556,0.00121694,-0.340688,-0.863112,0.00243388,-0.681376,0.00105036,0.000829194,-0.294052,-0.186241,-1.48094e-06,-0.11606,
101 0.13298,0.795351,-0.0885678,0.26596,1.5907,-0.177136,-0.211532,0.140885,0.0235555,-0.0176837,-0.632583,-0.0078442,
102 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
103 -0.320505,0.956657,0.376907,-0.64101,1.91331,0.753814,0.613227,-0.721141,0.241601,-0.102723,-0.915193,-0.14205,
104 0.322145,0.236588,0.423848,0.64429,0.473176,0.847696,-0.152431,-0.200555,-0.273081,-0.103777,-0.0559739,-0.17964,
105 0.152594,0.632575,0.0287492,0.305188,1.26515,0.0574984,-0.193054,-0.0363721,-0.00877391,-0.0232849,-0.400151,-0.00082651,
106 0.161205,-0.332659,-0.168981,0.32241,-0.665318,-0.337962,0.107253,-0.112426,0.0544812,-0.0259871,-0.110662,-0.028554,
107 -0.183764,0.968242,0.220087,-0.367528,1.93648,0.440174,0.355856,-0.426195,0.0808881,-0.0337692,-0.937493,-0.048438,
108 -0.167863,0.576404,-0.132621,-0.335726,1.15281,-0.265242,0.193514,0.152887,-0.0445243,-0.028178,-0.332242,-0.017588,
109 0.00305447,0.680886,0.141503,0.00610894,1.36177,0.283006,-0.00415949,-0.192695,-0.000864433,-9.32979e-06,-0.463606,-0.020023,
110 -0.102294,-0.807369,0.0698728,-0.204588,-1.61474,0.139746,-0.165178,0.112826,0.0142951,-0.0104641,-0.651845,-0.0048822,
111 -0.0405991,0.618238,0.431265,-0.0811982,1.23648,0.86253,0.0501998,-0.533249,0.0350179,-0.00164829,-0.382218,-0.1859,
112 0.17566,0.422673,0.161592,0.35132,0.845346,0.323184,-0.148493,-0.136601,-0.0567705,-0.0308564,-0.178652,-0.02611,
113 0.364899,0.851563,-0.223539,0.729798,1.70313,-0.447078,-0.621469,0.380715,0.163138,-0.133151,-0.72516,-0.049969,
114 0.193683,-0.477745,0.31487,0.387366,-0.95549,0.62974,0.185062,0.300855,-0.12197,-0.0375131,-0.22824,-0.099143,
115 0.00412616,0.876173,-0.000801891,0.00825232,1.75235,-0.00160378,-0.00723046,0.00140519,6.61746e-06,-1.70252e-05,-0.767679,-6.43029e-0,
116 0.179121,0.376297,-0.192549,0.358242,0.752594,-0.385098,-0.134805,0.144911,0.0689791,-0.0320843,-0.141599,-0.037075,
117 0.204961,1.12444,-0.32357,0.409922,2.24888,-0.64714,-0.460933,0.72767,0.132638,-0.042009,-1.26437,-0.10469,
118 -0.109874,-0.135019,-0.100525,-0.219748,-0.270038,-0.20105,-0.0296702,-0.0271456,-0.0220902,-0.0120723,-0.0182301,-0.010105,
119 -0.108037,0.637784,0.245745,-0.216074,1.27557,0.49149,0.137809,-0.313464,0.0530991,-0.011672,-0.406768,-0.060390,
120 0.306307,0.425902,0.27687,0.612614,0.851804,0.55374,-0.260914,-0.235839,-0.169614,-0.093824,-0.181393,-0.07665,
121 0.420456,0.452155,0.112949,0.840912,0.90431,0.225898,-0.380223,-0.102141,-0.0949802,-0.176783,-0.204444,-0.012757,
122 0.166341,-0.803933,0.486546,0.332682,-1.60787,0.973092,0.267454,0.782301,-0.161865,-0.0276693,-0.646308,-0.23672,
123 0.140166,0.770046,0.065796,0.280332,1.54009,0.131592,-0.215869,-0.101332,-0.0184447,-0.0196465,-0.592971,-0.0043291,
124 0.00434579,0.38118,0.0373839,0.00869158,0.76236,0.0747678,-0.00331306,-0.0285,-0.000324925,-1.88859e-05,-0.145298,-0.0013975,
125 0.0386892,0.677762,0.290483,0.0773784,1.35552,0.580966,-0.0524441,-0.393757,-0.0224771,-0.00149685,-0.459361,-0.084380,
126 -0.276609,-0.463445,-0.138162,-0.553218,-0.92689,-0.276324,-0.256386,-0.128061,-0.0764337,-0.0765125,-0.214781,-0.019088,
127 -0.219103,0.797238,0.435135,-0.438206,1.59448,0.87027,0.349354,-0.693812,0.190679,-0.0480061,-0.635588,-0.18934,
128 -0.0736288,0.198374,-0.0835409,-0.147258,0.396748,-0.167082,0.0292121,0.0331447,-0.012302,-0.0054212,-0.0393522,-0.0069790,
129 0.374279,0.621436,-0.150749,0.748558,1.24287,-0.301498,-0.465181,0.187362,0.112844,-0.140085,-0.386183,-0.022725
130 };
131