Cleaned up unused stuff and licensed all codebooks under the BSD license
[speexdsp.git] / libspeex / exc_5_256_table.c
1 /* Copyright (C) 2002 Jean-Marc Valin 
2    File: exc_5_256_table.c
3    Codebook for excitation in narrowband CELP mode (12800 bps)
4   
5    Redistribution and use in source and binary forms, with or without
6    modification, are permitted provided that the following conditions are
7    met:
8
9    1. Redistributions of source code must retain the above copyright notice,
10    this list of conditions and the following disclaimer.  
11
12    2. Redistributions in binary form must reproduce the above copyright
13    notice, this list of conditions and the following disclaimer in the
14    documentation and/or other materials provided with the distribution.
15
16    3. The name of the author may not be used to endorse or promote products
17    derived from this software without specific prior written permission.
18
19    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22    DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
23    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28    ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29    POSSIBILITY OF SUCH DAMAGE.
30 */
31
32 float exc_5_256_table[256][5]={
33 {-0.237490,-1.143185,0.169593,-1.347293,0.145853},
34 {2.282029,1.907869,1.214155,0.365887,-0.083613},
35 {-1.917444,-1.006032,0.078006,1.317143,0.948997},
36 {-0.102532,0.531861,-0.850615,0.270763,1.065384},
37 {0.625333,-0.044232,-0.151058,0.060297,0.731948},
38 {-0.225324,-1.442585,0.805758,1.654148,-1.472027},
39 {0.637158,-0.047452,-1.027989,-2.789764,-1.585092},
40 {-2.004120,0.848065,0.343231,0.480114,-1.073209},
41 {-0.147939,-1.763385,0.789137,-0.273229,-0.045787},
42 {-0.916375,0.030380,1.236911,2.097223,-0.711288},
43 {-0.502244,0.498416,1.039226,0.608927,0.220822},
44 {0.426680,2.661214,0.678083,-0.325512,-0.312750},
45 {-0.362420,-0.230620,-0.038748,1.638908,2.794648},
46 {0.897668,0.347415,-0.615305,-1.166983,-1.451614},
47 {-0.468914,0.527239,-0.758255,-0.865331,0.749922},
48 {0.072859,0.036755,0.004938,0.705453,-3.140831},
49 {0.716576,0.445907,-0.043194,-0.714164,-0.566683},
50 {0.288359,0.171274,-0.400953,1.191635,0.024874},
51 {-0.870050,-0.865377,0.133129,0.837430,1.599925},
52 {-0.824536,1.048903,-1.234708,1.096219,1.453526},
53 {1.680720,1.174589,-1.698451,-0.811040,-0.181047},
54 {1.305296,-0.782831,0.408409,-0.935244,-1.117951},
55 {0.551011,1.289470,-0.128784,-1.026468,0.719755},
56 {-0.999023,-0.207657,-0.131172,1.586798,-0.103564},
57 {0.526495,-1.635804,1.741200,-1.455397,1.120556},
58 {-0.050926,-0.669441,1.129219,0.318954,0.264495},
59 {-1.035804,0.963022,0.602891,0.280953,-0.156028},
60 {-1.258201,0.299914,-0.282269,-0.652484,0.588859},
61 {0.553935,-2.435799,-0.552222,-0.144498,-0.002183},
62 {-0.812061,-1.139392,-1.461207,-1.603880,-1.373126},
63 {0.551616,1.252842,0.834597,-0.065958,0.921771},
64 {1.520718,-0.815619,0.077759,0.992491,-1.696187},
65 {0.949819,-2.293022,1.680126,0.079528,-0.168435},
66 {1.136532,0.685554,1.652139,0.327742,-0.019946},
67 {-2.627898,-1.664091,-0.917076,-0.144733,0.108210},
68 {-1.383237,1.661278,-1.588413,0.125512,0.672875},
69 {2.220547,-1.094048,-0.040326,1.046640,-0.159833},
70 {-0.831687,-0.217022,1.132763,0.516049,-0.718965},
71 {-1.207856,0.514369,-0.276876,-1.729956,-0.475417},
72 {-0.632291,1.224503,-1.100033,0.196469,-1.216005},
73 {-0.437477,0.572342,1.498100,-2.009446,-0.544362},
74 {-0.483661,0.278221,1.208741,2.519628,1.152933},
75 {-2.114403,1.146204,1.482490,-0.645010,-0.200224},
76 {-3.256683,0.396660,0.187063,0.269166,-0.064718},
77 {1.098232,0.238269,-0.713169,0.573599,1.308075},
78 {1.404585,0.642890,1.022616,-0.158758,-1.536089},
79 {0.289683,-0.202644,-1.335206,-1.745237,1.212780},
80 {0.068826,-0.487846,-0.796365,2.703398,0.037605},
81 {-0.093420,-0.288647,0.537690,-0.788034,-0.336765},
82 {-0.282264,-0.035466,0.325906,0.073757,-0.436129},
83 {-0.441147,0.131624,-0.039582,-0.307290,0.873403},
84 {-0.727399,1.262546,-1.006406,0.800668,-0.292161},
85 {0.815407,0.125318,-0.833953,-0.721837,0.098634},
86 {1.309516,-1.881402,0.020819,1.535917,-0.085784},
87 {0.852091,0.324202,-1.632708,-1.240940,-0.058282},
88 {0.548795,1.420246,-0.723404,0.539559,-1.363143},
89 {0.093279,-0.087619,0.520985,-1.429303,1.633747},
90 {-1.262139,-1.482456,0.774305,2.333901,0.953265},
91 {-1.522472,1.653068,0.930418,-0.928553,-0.988570},
92 {-1.124685,1.193134,-0.184266,-0.468161,-0.494262},
93 {1.686199,-0.846011,-1.490896,0.103816,1.185602},
94 {-0.905393,-0.993489,-0.698452,-0.425371,-0.140388},
95 {-0.733567,-0.407297,0.984456,-1.227205,0.277382},
96 {0.262909,-1.405699,-0.393251,1.047763,-0.504130},
97 {1.534588,1.253100,1.010053,0.967494,0.874562},
98 {0.703934,0.703752,1.013826,1.453567,1.828965},
99 {-2.135674,0.237163,1.942164,1.368833,0.786527},
100 {-0.438943,-0.751491,-2.022763,-0.509142,1.136884},
101 {2.096044,-0.779826,-1.183293,-0.664704,0.129661},
102 {-1.019083,-0.063546,1.315377,0.160114,-1.969163},
103 {1.235455,0.339629,0.821209,-1.322199,-0.707144},
104 {-1.912577,2.477290,-0.959275,0.727331,-0.627238},
105 {0.309120,-0.992473,1.649549,-0.787349,-1.114847},
106 {0.301261,-0.806354,-0.168984,0.102566,0.006322},
107 {-2.230768,0.157070,-0.325876,-1.169784,0.026636},
108 {-0.740452,0.671119,-1.698043,-0.540594,0.039289},
109 {-0.916720,-0.795500,-0.456103,-0.828801,0.996582},
110 {2.126760,1.405075,-0.487894,-1.152900,-0.547410},
111 {-0.140861,0.022415,0.012865,-2.410275,2.227177},
112 {-0.187330,0.088501,-0.616484,2.233887,-2.089702},
113 {0.921840,-1.098992,0.315908,-0.951877,0.583245},
114 {0.125248,0.485888,0.531679,0.158882,0.010191},
115 {-0.444659,0.586426,0.073443,0.881859,0.811644},
116 {1.834116,0.107207,0.054902,0.764563,1.206275},
117 {1.729793,-1.573319,-1.410877,-0.548206,-0.523803},
118 {1.040945,-1.092189,0.438768,-0.023495,0.017181},
119 {0.260810,2.722228,-1.080897,-0.910895,-0.015318},
120 {-0.854465,0.415037,-0.209929,0.730699,-0.418210},
121 {1.147116,-1.244100,1.549513,-1.086968,0.450802},
122 {0.606518,-0.224389,-0.440378,1.542224,1.674585},
123 {-0.146370,0.701725,-0.074202,-0.919303,-0.243196},
124 {-0.830643,1.194300,0.413085,0.854889,1.509228},
125 {0.378910,-1.273831,-0.654142,-0.482317,0.874973},
126 {0.207290,-0.487979,-0.734850,-0.596906,-0.638005},
127 {0.358123,-0.623600,0.269431,0.067744,0.404291},
128 {0.730410,-0.617025,0.340155,0.850285,-0.845128},
129 {2.224645,-2.163902,0.253904,0.058791,-0.195806},
130 {0.673231,0.384296,0.512587,0.500735,0.288364},
131 {-0.508938,-0.238578,-0.523755,0.039320,0.788281},
132 {0.038009,1.236247,-1.151307,-1.025572,2.070569},
133 {2.937592,1.658959,0.113843,-0.675215,-0.796474},
134 {-1.290535,-1.318024,0.779934,1.087802,-0.504724},
135 {-0.458799,1.768295,0.969990,-0.912502,-0.985948},
136 {0.654864,0.514286,-1.881885,1.402762,0.466901},
137 {-0.039371,0.217141,1.782933,-0.822767,-1.477100},
138 {-0.921193,0.344953,0.246566,0.454925,0.578369},
139 {-3.281119,-0.262983,1.675093,0.846747,0.322978},
140 {-0.526518,0.178787,-0.374239,-0.044430,-0.321721},
141 {0.130555,0.009876,0.733984,-0.311299,0.981688},
142 {0.415851,0.334582,0.310308,0.384204,-2.011845},
143 {0.732594,-0.085433,-0.251654,-0.591676,0.508180},
144 {1.638423,0.740970,-1.253260,0.510985,0.298942},
145 {1.236445,0.151672,0.272685,-0.005675,-0.405615},
146 {-0.204947,-0.641425,-0.239561,-0.197927,-0.203245},
147 {-0.664961,1.836657,0.494243,-1.664738,0.564285},
148 {-1.867832,0.334376,-1.475997,0.449648,-0.557838},
149 {0.769515,-0.397243,-0.748284,0.122863,-1.213451},
150 {0.510456,-0.863180,1.696700,0.802662,-2.080803},
151 {0.948355,0.839432,-0.636461,-1.623075,0.631299},
152 {-0.359829,1.708258,0.373454,0.569732,-0.490442},
153 {1.211346,-0.442310,-0.191107,-0.821124,1.758013},
154 {-2.739990,-1.733954,0.362254,0.790418,0.816343},
155 {-1.167359,0.188308,2.347375,-0.004311,-1.055182},
156 {-2.520289,1.690341,-0.950575,0.036677,-0.211055},
157 {1.529692,-0.712544,-0.446714,0.653271,0.307403},
158 {-1.932004,-1.801185,-1.774508,-1.455865,-1.076385},
159 {0.481799,-0.127697,1.063191,-2.430217,0.975859},
160 {0.783380,-0.349613,0.231802,1.576342,-0.299123},
161 {1.321438,-1.975989,0.444613,-1.126934,-0.120772},
162 {1.767587,1.726074,1.789547,1.650339,1.300294},
163 {-1.320591,-0.021087,0.467677,1.235861,1.159889},
164 {0.472353,0.778945,-0.345924,0.185862,0.023489},
165 {0.976761,-0.049321,-0.187924,-0.032560,-0.219486},
166 {-1.988678,1.067921,0.861563,0.924831,-0.043678},
167 {0.079461,0.671520,-0.010516,-2.735029,-0.368439},
168 {-1.739775,0.773082,-0.869245,1.261457,0.239504},
169 {-0.884101,-0.444766,0.287351,0.362427,0.075910},
170 {-0.187381,-0.522243,0.687928,1.524120,-0.191623},
171 {-0.824627,0.450629,0.888709,-0.612916,0.126629},
172 {-0.387682,1.552810,1.081412,1.247160,0.399254},
173 {-1.175274,-1.803604,-0.898581,0.538098,0.949505},
174 {0.683291,1.868813,0.814127,-1.677352,-1.232676},
175 {-0.368707,1.806760,-0.882627,-1.959961,0.326686},
176 {-0.654148,-0.241966,-0.390202,0.812996,-1.921986},
177 {0.183536,-0.302033,-0.350024,-0.677788,-0.173793},
178 {-0.219579,0.131887,0.041401,0.551546,0.059255},
179 {-2.195261,0.339380,0.440082,0.131060,0.416838},
180 {0.592208,-0.752618,-1.065400,0.749174,2.084597},
181 {0.539968,1.583781,-0.667340,0.415546,0.704140},
182 {1.672265,-0.945839,1.508705,0.043261,-0.411751},
183 {2.494625,0.811584,-0.502530,-0.074187,0.402822},
184 {-0.129194,0.196569,-0.952572,0.893145,-0.739012},
185 {2.286799,-1.798589,0.934779,-0.843560,0.615458},
186 {-0.049100,-0.647380,1.282294,1.400613,0.943306},
187 {-0.829075,-0.107640,-0.160871,-0.549651,-0.615489},
188 {-1.520783,-0.096937,-1.087481,0.302542,1.314978},
189 {-0.590268,-2.078278,-1.662984,-0.357445,0.290511},
190 {0.405666,-0.461039,-1.030301,-1.594154,-0.929513},
191 {0.467651,0.209407,0.771860,-0.945564,0.120815},
192 {0.879624,-0.672485,-1.076939,1.672229,-0.896547},
193 {1.226287,-1.427687,0.623423,0.487838,1.059391},
194 {-0.112611,1.476012,2.332795,0.027173,-1.372062},
195 {-1.712299,-0.741591,0.220303,-0.037289,0.287947},
196 {-1.313515,1.568209,-0.242583,-1.125216,1.296033},
197 {2.128819,-0.000202,-0.127317,-0.323292,-0.712285},
198 {-0.481919,-1.574391,2.011321,1.118290,-0.287147},
199 {-0.834813,0.369250,0.772486,-1.192059,-1.467855},
200 {-1.160510,1.013416,-1.518733,1.604893,-1.132023},
201 {0.065437,-0.130093,2.142449,-0.824300,0.585279},
202 {0.217516,1.390685,2.087718,1.444317,0.393951},
203 {-1.965380,1.423437,0.463137,-1.458863,0.129408},
204 {-1.276771,0.399516,-0.181007,0.161340,-0.647473},
205 {1.158774,0.811547,-1.724151,-0.222809,1.042694},
206 {-0.025592,-0.870210,0.296906,-0.533732,-2.005479},
207 {-0.426015,-0.008205,-1.110873,-0.533805,2.897039},
208 {-0.078628,-0.273738,-2.052340,1.365382,-0.641033},
209 {0.094530,-0.385063,1.186364,-0.196294,-0.402083},
210 {-0.377287,0.592461,0.416138,1.342275,-1.345124},
211 {-0.326100,-0.372055,0.177385,-0.154609,0.279860},
212 {-1.517009,1.004951,-0.168499,0.071791,0.136728},
213 {0.142833,0.463098,-0.486232,0.308931,-0.647979},
214 {0.256930,-1.930003,-0.262798,1.989224,0.258632},
215 {2.463261,-0.041199,-2.074486,-1.515627,-0.573898},
216 {0.144182,1.257711,-0.153253,-0.924319,-1.402832},
217 {0.026153,-0.200518,0.650758,-1.004331,2.896873},
218 {-0.565282,-0.922527,-0.649679,0.992938,0.641581},
219 {-0.551082,0.688001,0.254383,0.144191,-1.294243},
220 {-1.685997,2.488625,0.673537,-0.316294,-0.226387},
221 {-0.259635,-0.714486,-2.005490,2.059224,1.749423},
222 {-0.438927,-0.938864,-1.278976,-1.427825,-0.429366},
223 {-0.910525,-1.153751,0.845444,-0.424541,1.311529},
224 {-0.055832,-0.295727,-0.894049,1.076591,0.447636},
225 {1.026862,-0.452182,0.701255,0.134431,0.301766},
226 {0.810617,0.806744,0.860610,0.997277,0.709153},
227 {-2.249011,-1.008224,0.107200,-0.006099,-0.432912},
228 {1.104328,-1.316145,-2.423342,-1.011666,0.193540},
229 {0.893918,-0.551728,-1.393633,-0.167099,0.217447},
230 {-1.036975,-1.408499,-0.093773,-0.696908,-1.056517},
231 {0.251892,-0.238172,0.138507,-1.590215,-0.765916},
232 {-0.288627,1.858300,-2.441963,0.665071,-0.151990},
233 {-0.796230,-1.500815,2.047680,-0.483518,-0.524927},
234 {-0.735792,-1.542143,-0.403761,0.786063,-0.721085},
235 {-2.007396,-0.179960,1.263152,-0.736846,-0.596891},
236 {-0.339633,1.787301,-1.043404,-0.261831,0.033607},
237 {0.303760,-1.614090,-1.683049,0.877255,1.206159},
238 {1.522410,1.047292,-0.348319,-1.908848,-1.288885},
239 {-1.355471,0.298949,0.456469,-0.460846,1.582720},
240 {0.950498,0.461328,-1.605406,0.992614,-1.072060},
241 {-0.067245,-1.051726,0.441800,0.565649,0.490512},
242 {0.034274,0.016215,-0.104667,-0.088058,0.033954},
243 {0.035645,-0.552930,0.191087,0.507699,1.510268},
244 {0.378791,-0.163210,-1.300047,0.216828,1.127200},
245 {1.485399,0.231760,-0.612296,-0.314449,0.214765},
246 {0.389814,0.063046,1.677153,1.203378,-1.181019},
247 {1.144310,1.701280,0.140221,-0.352224,-0.255645},
248 {-1.428605,-0.309726,0.159643,-0.312052,-1.072305},
249 {1.431807,-0.368790,0.901943,-1.157026,1.216558},
250 {1.132834,-0.337966,0.745579,1.735078,0.521934},
251 {0.434581,0.626904,0.783042,-0.011025,-0.774859},
252 {-0.864085,1.712395,-0.233626,-0.140994,0.855874},
253 {0.084798,0.268131,-0.799099,-0.249884,0.182995},
254 {-0.749883,-0.314867,-0.932863,-0.981966,-1.076037},
255 {0.568342,0.117895,0.695575,0.654022,1.243202},
256 {-0.028249,-0.920314,-1.159500,-0.252974,-0.667330},
257 {2.884654,-0.901748,0.345218,-0.107313,0.359116},
258 {2.269582,0.717803,0.688785,0.230416,0.133072},
259 {-1.361770,-0.281947,-0.333282,0.651909,-0.402058},
260 {0.336835,0.270386,-2.444829,-0.024210,1.455680},
261 {3.577211,-0.364136,-1.142711,-0.589789,-0.148638},
262 {-0.330944,-0.700313,0.607647,0.384170,-0.937977},
263 {0.219312,1.192991,1.416036,-0.665606,-0.238848},
264 {-0.267118,1.726629,-1.404944,1.748959,-0.668202},
265 {0.231249,0.518833,1.432378,-1.791417,-2.715753},
266 {-0.190609,0.842703,0.977178,0.956382,0.214204},
267 {-1.739599,-0.380572,1.446263,0.650688,-0.156868},
268 {-0.381698,1.133569,0.106957,0.079129,-0.671195},
269 {1.350048,0.584280,0.362761,-0.231573,0.295979},
270 {-0.424824,-0.012923,-0.281562,-1.037573,-2.837317},
271 {0.213285,0.826367,0.084319,-0.352444,1.988971},
272 {2.608741,-0.983670,-1.428316,0.769233,0.078000},
273 {0.266188,0.147080,0.058180,0.076184,-0.035790},
274 {0.615874,-0.535720,0.303301,-0.160849,-0.854527},
275 {-0.252553,0.610928,0.253137,-0.607959,0.509103},
276 {-0.662696,-0.393405,-0.978673,0.154664,0.161319},
277 {1.319581,0.759991,0.282980,1.068894,-0.618567},
278 {0.886271,-1.908543,0.701646,0.359079,-1.217602},
279 {1.989436,-0.626814,-0.046220,-0.928131,-0.272808},
280 {-0.610346,0.760465,-0.771226,-0.758075,-0.893955},
281 {0.693531,-1.879951,0.197925,-0.164563,1.286364},
282 {-0.288780,-2.729071,0.439511,1.065562,0.456857},
283 {-1.778857,1.622610,2.151497,0.459413,-0.096012},
284 {-3.178057,1.826172,0.501727,0.093708,0.196590},
285 {1.875431,-2.358467,-0.999200,0.812455,0.228148},
286 {-1.796573,-0.849192,-1.014730,-0.749490,-0.664323},
287 {-0.912877,-0.494399,1.929179,-1.447123,0.954288},
288 {0.940052,-0.847589,-0.482205,0.210276,0.453678}};