comparison libtwamr/q_plsf5_tab.c @ 341:450b090f2fd7

libtwamr: copy&adapt q_plsf5_tab.[ch] from libgsmefr
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Apr 2024 00:27:46 +0000
parents libgsmefr/q_plsf5_tab.c@cc08498ed21b
children
comparison
equal deleted inserted replaced
340:e18452a4fbac 341:450b090f2fd7
1 /*
2 * The original ETSI EFR code features an include file named q_plsf_5.tab,
3 * included into d_homing.c, d_plsf_5.c and q_plsf_5.c, duplicating
4 * the small mean_lsf[] table across all 3 modules and the other (big)
5 * tables across d_plsf_5.c for the decoder and q_plsf_5.c for the encoder.
6 *
7 * In our version we have moved the tables into q_plsf5_tab.c,
8 * with extern declarations in q_plsf5_tab.h.
9 *
10 * Update for libtwamr: this table is unchanged from ETSI EFR, hence
11 * we are keeping our version unchanged from libgsmefr too.
12 */
13
14 #include "tw_amr.h"
15 #include "typedef.h"
16 #include "namespace.h"
17 #include "q_plsf5_tab.h"
18
19 /*--------------------------------------------------------------------------*
20 * Quantization tables for split_MQ of 2 sets of LSFs in a 20 ms frame. *
21 * See "q_plsf_5.c" *
22 *--------------------------------------------------------------------------*/
23
24 /* LSF means ->normalize frequency domain */
25
26 const Word16 mean_lsf[10] =
27 {
28 1384,
29 2077,
30 3420,
31 5108,
32 6742,
33 8122,
34 9863,
35 11092,
36 12714,
37 13701
38 };
39
40 const Word16 dico1_lsf[DICO1_SIZE * 4] =
41 {
42 -451, -1065, -529, -1305,
43 -450, -756, -497, -863,
44 -384, -619, -413, -669,
45 -317, -538, -331, -556,
46 -414, -508, -424, -378,
47 -274, -324, -434, -614,
48 -226, -500, -232, -514,
49 -263, -377, -298, -410,
50 -151, -710, -174, -818,
51 -149, -412, -156, -429,
52 -288, -462, -186, -203,
53 -170, -302, -191, -321,
54 -131, -147, -297, -395,
55 -228, -214, -245, -192,
56 -67, -316, -71, -327,
57 -104, -205, -94, -183,
58 -143, -38, -193, -95,
59 16, -76, -124, -248,
60 23, -237, 24, -244,
61 18, -136, 44, -111,
62 -33, -24, -25, 0,
63 149, 19, 23, -143,
64 158, -169, 174, -181,
65 133, -55, 165, -26,
66 111, 84, 98, 75,
67 87, 183, -115, -11,
68 -8, 130, 11, 170,
69 254, 77, 205, 17,
70 183, 112, 262, 194,
71 202, 287, 95, 189,
72 -42, -105, 234, 179,
73 39, 186, 163, 345,
74 332, 199, 299, 161,
75 -54, 285, -78, 281,
76 -133, 141, -182, 111,
77 249, 341, 271, 364,
78 93, 403, 75, 391,
79 92, 510, -138, 220,
80 -185, -29, -34, 361,
81 -115, 320, 3, 554,
82 99, 286, 218, 591,
83 -245, 406, -268, 453,
84 0, 580, 25, 606,
85 275, 532, 148, 450,
86 -73, 739, -285, 518,
87 -288, 94, -203, 674,
88 -140, -74, 205, 714,
89 -114, 299, 176, 923,
90 182, 557, 240, 705,
91 -16, 513, 485, 593,
92 293, 384, 451, 617,
93 -38, 50, 563, 529,
94 303, 209, 459, 363,
95 433, 452, 450, 454,
96 367, 606, 477, 741,
97 432, 353, 368, 267,
98 361, 716, 273, 583,
99 453, 166, 510, 172,
100 201, 629, 274, 191,
101 568, 639, 302, 298,
102 634, 387, 643, 350,
103 587, 560, 612, 565,
104 600, 788, 487, 672,
105 512, 1015, 321, 333,
106 357, 854, -125, 413,
107 474, 712, 17, -151,
108 564, 285, 270, -241,
109 971, 889, 489, 220,
110 510, 896, 549, 924,
111 327, 825, 290, 911,
112 540, 1108, 158, 805,
113 199, 957, 511, 730,
114 100, 874, 13, 791,
115 435, 632, 676, 972,
116 249, 900, 467, 1218,
117 781, 1074, 585, 785,
118 -23, 669, 267, 1043,
119 619, 1084, 615, 1145,
120 622, 905, 916, 1049,
121 80, 331, 584, 1075,
122 89, 639, 988, 961,
123 770, 720, 798, 699,
124 492, 447, 899, 627,
125 271, 1188, 725, 1333,
126 87, 603, 832, 1603,
127 616, 1127, 890, 1505,
128 1000, 1156, 866, 1009,
129 995, 827, 1149, 858,
130 817, 1450, 773, 1320,
131 500, 1389, 312, 1153,
132 -20, 1084, 64, 1283,
133 2, 1172, 399, 1869,
134 514, 1706, 502, 1636,
135 886, 1522, 416, 600,
136 1131, 1350, 1275, 1390,
137 889, 1795, 914, 1766,
138 227, 1183, 1250, 1826,
139 505, 1854, 919, 2353,
140 -199, 431, 152, 1735,
141 -213, -28, 392, 1334,
142 -153, -52, 978, 1151,
143 -323, -400, 813, 1703,
144 -136, 84, 1449, 2015,
145 -331, -143, -137, 1192,
146 -256, 534, -157, 1031,
147 -307, -439, 542, 731,
148 -329, -420, -97, 616,
149 -362, -168, -322, 366,
150 -247, -110, -211, 89,
151 -196, -309, 20, 59,
152 -364, -463, -286, 89,
153 -336, 175, -432, 141,
154 -379, -190, -434, -196,
155 -79, 150, -278, -227,
156 -280, 166, -555, -422,
157 -155, 541, -366, 54,
158 -29, -83, -301, -774,
159 186, 628, -397, -264,
160 242, 293, -197, -585,
161 124, 410, 53, -133,
162 10, 340, -570, -1065,
163 65, -446, 68, -493,
164 383, 937, -357, -711,
165 -359, -250, -677, -1068,
166 292, -26, 363, 6,
167 607, 1313, -127, -10,
168 1513, 1886, 713, 972,
169 1469, 2181, 1443, 2016
170 };
171
172 const Word16 dico2_lsf[DICO2_SIZE * 4] =
173 {
174 -1631, -1600, -1796, -2290,
175 -1027, -1770, -1100, -2025,
176 -1277, -1388, -1367, -1534,
177 -947, -1461, -972, -1524,
178 -999, -1222, -1020, -1172,
179 -815, -987, -992, -1371,
180 -1216, -1006, -1289, -1094,
181 -744, -1268, -755, -1293,
182 -862, -923, -905, -984,
183 -678, -1051, -685, -1050,
184 -1087, -985, -1062, -679,
185 -989, -641, -1127, -976,
186 -762, -654, -890, -806,
187 -833, -1091, -706, -629,
188 -621, -806, -640, -812,
189 -775, -634, -779, -543,
190 -996, -565, -1075, -580,
191 -546, -611, -572, -619,
192 -760, -290, -879, -526,
193 -823, -462, -795, -253,
194 -553, -415, -589, -439,
195 -533, -340, -692, -935,
196 -505, -772, -702, -1131,
197 -263, -306, -971, -483,
198 -445, -74, -555, -548,
199 -614, -129, -693, -234,
200 -396, -246, -475, -250,
201 -265, -404, -376, -514,
202 -417, -510, -300, -313,
203 -334, -664, -463, -814,
204 -386, -704, -337, -615,
205 -234, -201, -233, -239,
206 -167, -567, -203, -619,
207 -147, -415, -115, -352,
208 -166, -750, -171, -761,
209 -270, -879, -264, -903,
210 -367, -744, 43, -475,
211 14, -653, 43, -670,
212 11, -448, -59, -521,
213 -126, -119, -155, -613,
214 -42, -863, -27, -931,
215 136, -483, 183, -468,
216 55, -298, 55, -304,
217 313, -609, 313, -720,
218 322, -167, 100, -541,
219 -3, -119, -111, -187,
220 233, -236, 260, -234,
221 26, -165, 134, -45,
222 -40, -549, 360, -203,
223 378, -388, 450, -383,
224 275, 20, 182, -103,
225 246, -111, 431, 37,
226 462, -146, 487, -157,
227 -284, -59, 503, -184,
228 24, 53, -3, 54,
229 122, 259, 333, 66,
230 484, 104, 436, 68,
231 195, 116, 190, 206,
232 269, -9, 482, 352,
233 382, 285, 399, 277,
234 452, 256, 69, 186,
235 13, 297, -13, 259,
236 -95, 30, 56, 394,
237 196, 425, 205, 456,
238 281, 577, 15, 191,
239 375, 290, 407, 576,
240 -56, 227, 544, 405,
241 0, 549, -92, 528,
242 -229, 351, -245, 338,
243 -362, 435, 167, 527,
244 -75, 302, 91, 824,
245 129, 599, 496, 679,
246 186, 749, 153, 737,
247 -281, 600, -348, 615,
248 -236, 769, 41, 881,
249 38, 890, -220, 841,
250 -357, 883, -393, 903,
251 -634, 474, -444, 850,
252 -175, 678, -493, 242,
253 -519, 785, -714, 582,
254 -541, 366, -543, 434,
255 -597, 500, -765, 222,
256 -702, 917, -743, 962,
257 -869, 501, -899, 548,
258 -379, 200, -435, 157,
259 -819, 214, -861, 157,
260 -614, 40, -632, 94,
261 -883, -54, -741, 516,
262 -501, 298, -614, -171,
263 -870, -161, -865, -23,
264 -818, 93, -1015, -267,
265 -662, -359, -549, 2,
266 -442, -121, -377, 0,
267 -227, 33, -414, -126,
268 -129, 212, -934, 34,
269 -1082, -282, -1119, -268,
270 -710, -825, -420, -191,
271 -1076, -928, -917, -93,
272 -628, -358, 97, 7,
273 -206, -393, -101, 24,
274 -203, 38, -168, 83,
275 -599, -423, -279, 426,
276 -700, 118, -75, 206,
277 -981, -673, -680, 417,
278 -367, 37, -279, 474,
279 -129, -318, 319, 296,
280 -626, -39, 343, 602,
281 -696, -39, -303, 940,
282 104, 233, -380, 137,
283 -36, 269, -75, -214,
284 120, 43, -529, -477,
285 459, 164, -202, -229,
286 -49, -167, 609, 792,
287 98, -220, 915, 148,
288 293, 283, 869, 91,
289 575, 394, 326, -78,
290 717, 67, 365, -323,
291 616, -36, 731, 27,
292 619, 238, 632, 273,
293 448, 99, 801, 476,
294 869, 273, 685, 64,
295 789, 72, 1021, 217,
296 793, 459, 734, 360,
297 646, 480, 360, 322,
298 429, 464, 638, 430,
299 756, 363, 1000, 404,
300 683, 528, 602, 615,
301 655, 413, 946, 687,
302 937, 602, 904, 604,
303 555, 737, 786, 662,
304 467, 654, 362, 589,
305 929, 710, 498, 478,
306 415, 420, 693, 883,
307 813, 683, 781, 925,
308 913, 939, 726, 732,
309 491, 853, 531, 948,
310 734, 963, 315, 808,
311 761, 755, 1144, 760,
312 655, 1076, 826, 1057,
313 1091, 838, 1003, 808,
314 1047, 1133, 659, 1101,
315 992, 1050, 1074, 1075,
316 971, 694, 1226, 1054,
317 571, 841, 884, 1404,
318 1379, 1096, 1080, 861,
319 1231, 735, 1284, 760,
320 1272, 991, 1367, 1053,
321 1257, 700, 1050, 534,
322 988, 453, 1264, 599,
323 1140, 679, 1621, 815,
324 1384, 521, 1317, 393,
325 1564, 805, 1448, 686,
326 1068, 648, 875, 307,
327 1083, 361, 1047, 317,
328 1417, 964, 675, 571,
329 1152, 79, 1114, -47,
330 1530, 311, 1721, 314,
331 1166, 689, 514, -94,
332 349, 282, 1412, 328,
333 1025, 487, -65, 57,
334 805, 970, 36, 62,
335 769, -263, 791, -346,
336 637, 699, -137, 620,
337 534, 541, -735, 194,
338 711, 300, -268, -863,
339 926, 769, -708, -428,
340 506, 174, -892, -630,
341 435, 547, -1435, -258,
342 621, 471, -1018, -1368,
343 -393, 521, -920, -686,
344 -25, 20, -982, -1156,
345 340, 9, -1558, -1135,
346 -352, 48, -1579, -402,
347 -887, 6, -1156, -888,
348 -548, -352, -1643, -1168,
349 -159, 610, -2024, -963,
350 -225, 193, -1656, -1960,
351 -245, -493, -964, -1680,
352 -936, -635, -1299, -1744,
353 -1388, -604, -1540, -835,
354 -1397, -135, -1588, -290,
355 -1670, -712, -2011, -1632,
356 -1663, -27, -2258, -811,
357 -1157, 184, -1265, 189,
358 -1367, 586, -2011, 201,
359 -790, 712, -1210, 3,
360 -1033, 808, -1251, 830,
361 -111, 635, -1636, 447,
362 -463, -949, -445, -928,
363 -504, -1162, -501, -1211,
364 144, -351, -372, -1052,
365 -283, -1059, -279, -1123,
366 -575, -1438, -587, -1614,
367 -935, -984, 229, 690,
368 -921, -719, -403, 1362,
369 -685, -465, 874, 397,
370 -509, -46, 317, 1334,
371 -485, 456, 813, 439,
372 -411, 339, 898, 1067,
373 -425, 46, 1441, 497,
374 -909, -800, 1465, 1046,
375 -254, -321, 1430, 1165,
376 68, 350, 1034, 666,
377 370, 11, 1311, 790,
378 143, 232, 1041, 1562,
379 -114, 663, 1616, 1078,
380 454, 579, 1275, 1040,
381 -76, 909, 752, 1067,
382 153, 512, 348, 1214,
383 614, 385, 1843, 808,
384 269, 1034, 203, 1086,
385 652, 1017, 1783, 1130,
386 429, 1327, 387, 1384,
387 -49, 1183, -72, 1215,
388 -416, 1001, 544, 1749,
389 -352, 1223, -502, 1199,
390 -589, 569, -227, 1630,
391 -142, 1578, -230, 1715,
392 -714, 1288, -838, 1398,
393 1131, 1357, -208, 1232,
394 437, 965, -929, 818,
395 811, 1410, 859, 1507,
396 164, 1212, 1387, 1793,
397 484, 1874, 456, 2063,
398 996, 1170, 1326, 1402,
399 1316, 1360, 1135, 1262,
400 1234, 1618, 1361, 1768,
401 1421, 1227, 1584, 1347,
402 854, 672, 1685, 1566,
403 1139, 1270, 2016, 1825,
404 1773, 1581, 1532, 1460,
405 1487, 946, 1659, 1021,
406 1744, 1212, 1392, 977,
407 1772, 1161, 1826, 1164,
408 1718, 1429, 1973, 1591,
409 1185, 864, 2132, 1061,
410 1799, 814, 1838, 757,
411 2104, 1315, 2054, 1258,
412 2113, 915, 2331, 930,
413 1467, 1147, 2590, 1439,
414 2245, 1744, 2090, 1620,
415 2358, 1454, 2666, 1506,
416 1876, 1837, 2070, 1975,
417 1739, 1577, 682, 1289,
418 1584, 2045, 1454, 2098,
419 2498, 2004, 2711, 2066,
420 726, 1588, 2756, 2336,
421 228, 847, 2456, 1659,
422 36, 301, 1942, 1957,
423 -446, -96, 2154, 1396,
424 1533, 1101, 14, 608,
425 -923, -732, 1383, 1982,
426 1345, 952, -680, 321,
427 1281, 1268, -1594, 365,
428 941, 946, -1737, -822,
429 2374, 2787, 1821, 2788
430 };
431
432 const Word16 dico3_lsf[DICO3_SIZE * 4] =
433 {
434 -1812, -2275, -1879, -2537,
435 -1640, -1848, -1695, -2004,
436 -1220, -1912, -1221, -2106,
437 -1559, -1588, -1573, -1556,
438 -1195, -1615, -1224, -1727,
439 -1359, -1151, -1616, -1948,
440 -1274, -1391, -1305, -1403,
441 -1607, -1179, -1676, -1311,
442 -1443, -1478, -1367, -898,
443 -1256, -1059, -1331, -1134,
444 -982, -1133, -1149, -1504,
445 -1080, -1308, -1020, -1183,
446 -980, -1486, -967, -1495,
447 -988, -922, -1047, -1077,
448 -838, -1179, -858, -1222,
449 -1131, -1041, -1064, -767,
450 -872, -1157, -701, -880,
451 -706, -906, -774, -1016,
452 -578, -1080, -801, -1478,
453 -591, -1111, -592, -1146,
454 -713, -1388, -640, -1376,
455 -597, -1059, -416, -903,
456 -686, -832, -661, -708,
457 -444, -868, -490, -921,
458 -374, -776, -619, -1170,
459 -585, -549, -769, -795,
460 -435, -659, -530, -741,
461 -498, -837, -357, -597,
462 -279, -871, -243, -887,
463 -282, -665, -280, -667,
464 -165, -560, -394, -903,
465 -362, -410, -448, -583,
466 -409, -574, -313, -357,
467 -637, -548, -570, -436,
468 -896, -504, -382, -757,
469 -58, -481, -165, -618,
470 -191, -374, -234, -382,
471 -222, -683, -25, -480,
472 -418, -359, -730, -353,
473 -324, -157, -432, -322,
474 -394, -303, -284, -104,
475 -601, -289, -556, -196,
476 -588, -150, -659, -608,
477 -473, -24, -68, -448,
478 -474, -8, -506, -45,
479 -748, -184, -844, -252,
480 -901, -91, -584, -97,
481 -652, 138, -764, -131,
482 -678, -12, -670, 165,
483 -259, -3, -840, -107,
484 -909, 37, -992, 44,
485 -854, -415, -839, 13,
486 -1001, -271, -1026, -309,
487 -798, -478, -832, -488,
488 -943, 168, -1112, -387,
489 -1185, -101, -1183, -40,
490 -941, -316, -1030, -770,
491 -1044, -625, -1081, -538,
492 -1224, -299, -1312, -436,
493 -1197, -663, -1167, -161,
494 -1216, -690, -1237, -831,
495 -1432, -720, -1403, -493,
496 -898, -740, -922, -801,
497 -1102, -402, -1579, -964,
498 -1061, -638, -1269, -1438,
499 -1499, -934, -1502, -895,
500 -1598, -564, -1723, -717,
501 -606, -597, -1166, -1085,
502 -1369, -468, -1946, -1493,
503 -1838, -953, -1932, -931,
504 -1499, -188, -1635, -421,
505 -1457, -338, -1448, -22,
506 -1942, -422, -2006, -249,
507 -496, -114, -1910, -755,
508 -1289, 174, -1451, -109,
509 -482, -257, -1221, -508,
510 -1617, 151, -1694, 208,
511 -654, 107, -1651, 29,
512 -1141, 279, -1215, 306,
513 -1228, -506, -730, -175,
514 -1236, -101, -969, 551,
515 -870, 278, -823, 315,
516 -563, 376, -1051, 228,
517 -507, 280, -599, 281,
518 -758, 253, -305, 379,
519 -755, -134, -611, 660,
520 -824, 536, -817, 646,
521 -413, 49, -341, 177,
522 -453, 526, -482, 589,
523 -71, 339, -657, 264,
524 -244, 295, -237, 315,
525 -387, 569, -506, -9,
526 -377, 14, -160, 661,
527 -216, 40, -308, -46,
528 95, 214, -242, 167,
529 -86, 192, -56, 27,
530 -76, 31, 36, 309,
531 -106, -182, -113, 74,
532 -441, -22, 23, 139,
533 81, -11, 44, 15,
534 -87, -137, -118, -207,
535 -158, -58, 272, -92,
536 -156, -441, 8, -136,
537 128, -221, 101, -218,
538 40, -197, -76, -456,
539 9, -445, 33, -423,
540 226, 60, 73, -222,
541 156, -399, 280, -318,
542 245, -341, 166, -499,
543 339, -190, 327, -219,
544 325, -137, -89, -596,
545 100, -627, 144, -677,
546 487, 28, 252, -391,
547 214, -41, 282, -28,
548 99, -286, 331, 49,
549 459, -388, 565, -369,
550 436, 28, 336, -9,
551 397, -167, 618, 34,
552 596, -17, 561, -140,
553 299, 79, 522, 125,
554 203, 2, 244, 288,
555 255, 211, 175, 82,
556 596, 187, 517, 108,
557 381, 255, 365, 297,
558 497, 352, 327, -82,
559 25, 210, 371, 245,
560 261, 3, 545, 449,
561 140, 294, 44, 295,
562 212, 347, 244, 494,
563 331, 528, 201, 307,
564 349, 411, 613, 284,
565 614, 413, 464, 322,
566 624, 397, 97, 200,
567 -160, 384, 149, 362,
568 495, 525, 269, 585,
569 33, 491, -121, 433,
570 427, 611, 498, 516,
571 171, 443, 497, 666,
572 440, 275, 566, 575,
573 146, 639, 155, 670,
574 -33, 173, 212, 696,
575 -166, 601, -191, 695,
576 -489, 503, 175, 742,
577 214, 476, 372, 1083,
578 578, 530, 586, 777,
579 425, 874, 315, 841,
580 374, 848, -165, 565,
581 35, 991, -39, 1062,
582 329, 712, 786, 840,
583 645, 795, 661, 676,
584 571, 918, 632, 1079,
585 673, 817, 318, 388,
586 874, 1012, 564, 848,
587 880, 620, 557, 479,
588 671, 453, 692, 468,
589 840, 642, 844, 645,
590 506, 428, 897, 567,
591 837, 387, 962, 499,
592 691, 561, 939, 926,
593 783, 296, 790, 268,
594 1028, 530, 874, 329,
595 548, 143, 675, 291,
596 503, 66, 1041, 359,
597 786, 97, 805, 33,
598 837, 470, 511, 49,
599 1092, 327, 1174, 323,
600 3, 242, 872, 474,
601 689, 429, 1329, 678,
602 1042, 620, 1109, 664,
603 321, 193, 889, 950,
604 1153, 874, 893, 635,
605 877, 862, 948, 913,
606 1293, 665, 1320, 639,
607 997, 793, 1402, 1030,
608 1176, 1012, 1110, 959,
609 1410, 925, 1403, 915,
610 543, 862, 1116, 1222,
611 835, 1190, 835, 1190,
612 959, 1148, 1147, 1376,
613 1300, 1193, 1415, 1231,
614 1335, 1341, 746, 1092,
615 1711, 1283, 1389, 1073,
616 1334, 1566, 1153, 1475,
617 1645, 1137, 1825, 1220,
618 1056, 1382, 1521, 1730,
619 1632, 1545, 1620, 1542,
620 855, 1596, 865, 1667,
621 693, 885, 1716, 1519,
622 1167, 1296, 2209, 1760,
623 1952, 1493, 2020, 1482,
624 1534, 1866, 1694, 2008,
625 1566, 748, 1761, 825,
626 294, 1392, 1084, 2058,
627 621, 1315, 365, 1287,
628 198, 1028, 488, 1408,
629 249, 403, 1014, 1561,
630 324, 363, 1645, 1044,
631 193, 367, 2034, 1859,
632 -251, 579, 750, 994,
633 -243, 30, 1325, 879,
634 -28, -169, 624, 917,
635 -453, 159, 186, 1370,
636 -614, 6, 537, 392,
637 -94, -291, 781, 229,
638 -128, -298, 245, 491,
639 -701, -648, 972, 789,
640 -501, -640, 178, 255,
641 -365, -390, -255, 317,
642 -958, -294, -191, 228,
643 -775, -447, 157, -237,
644 -657, -720, -407, 92,
645 -117, -611, 334, -230,
646 -679, -1084, -144, -317,
647 -901, -861, -738, -360,
648 -85, -727, -90, -787,
649 100, -22, -391, -263,
650 -56, -73, -337, -754,
651 5, -189, -706, -624,
652 89, -344, -135, -1113,
653 -353, -237, -684, -1135,
654 -275, -1102, -269, -1203,
655 152, 145, -722, -1232,
656 49, 80, -1248, -776,
657 -248, 391, -732, -547,
658 469, 218, -255, -864,
659 69, 366, -166, -485,
660 -688, 191, -1212, -1196,
661 -170, -169, -1308, -1631,
662 321, 470, -1419, -1243,
663 -64, 272, -1361, -248,
664 492, 565, -721, -609,
665 195, 485, -573, -133,
666 427, 202, -171, -118,
667 199, 575, 2, -31,
668 694, 755, -1366, -39,
669 552, 557, -489, 271,
670 680, 537, 13, -453,
671 855, 954, -133, -52,
672 -81, 738, -1169, 637,
673 1055, 1059, -95, 676,
674 1259, 1081, 489, 305,
675 -449, 954, -534, 996,
676 -969, 866, -1058, 1059,
677 -1294, 618, -1416, 617,
678 -458, 1366, -159, 1821,
679 -774, -528, -14, 1110,
680 -1202, -901, -772, 433,
681 -1256, -1255, -1011, -302,
682 -602, -585, -759, -1618,
683 -760, -1549, -840, -1921,
684 -816, -539, -1769, -2235,
685 -227, -36, -2034, -1831,
686 -2107, -1126, -2471, -1816,
687 -1470, 252, -2701, -415,
688 -571, -467, 1509, 1554,
689 2180, 1975, 2326, 2020
690 };
691
692 const Word16 dico4_lsf[DICO4_SIZE * 4] =
693 {
694 -1857, -1681, -1857, -1755,
695 -2056, -1150, -2134, -1654,
696 -1619, -1099, -1704, -1131,
697 -1345, -1608, -1359, -1638,
698 -1338, -1293, -1325, -1265,
699 -1664, -1649, -1487, -851,
700 -1346, -1832, -1413, -2188,
701 -1282, -681, -1785, -1649,
702 -966, -1082, -1183, -1676,
703 -1054, -1073, -1142, -1158,
704 -1207, -744, -1274, -997,
705 -934, -1383, -927, -1416,
706 -1010, -1305, -783, -955,
707 -1049, -900, -993, -817,
708 -737, -823, -972, -1189,
709 -738, -1094, -738, -1154,
710 -784, -801, -810, -786,
711 -892, -520, -1000, -818,
712 -644, -965, -577, -882,
713 -541, -694, -671, -917,
714 -595, -642, -646, -615,
715 -956, -621, -925, -515,
716 -727, -483, -815, -485,
717 -840, -578, -440, -713,
718 -578, -325, -657, -670,
719 -386, -570, -441, -666,
720 -514, -787, -392, -529,
721 -522, -453, -487, -423,
722 -616, -585, -617, -157,
723 -662, -268, -680, -348,
724 -322, -323, -632, -444,
725 -304, -430, -332, -458,
726 -277, -468, -659, -793,
727 -319, -636, -227, -554,
728 -373, -347, -334, -210,
729 -456, -192, -530, -242,
730 -216, -198, -366, -370,
731 -338, -161, -409, -748,
732 -107, -380, -294, -643,
733 -223, -665, -234, -741,
734 -141, -496, -130, -510,
735 -139, -327, -172, -305,
736 -306, -580, -164, -263,
737 -262, -172, -67, -402,
738 31, -366, -10, -436,
739 -86, -527, 71, -377,
740 -22, -609, -12, -678,
741 -67, -319, 63, -191,
742 35, -181, -39, -242,
743 126, -167, -140, -544,
744 155, -297, 174, -297,
745 38, -8, 117, -380,
746 197, -452, 240, -522,
747 223, -103, 110, -187,
748 87, -155, 169, -47,
749 157, 26, -83, -100,
750 128, 80, 209, -62,
751 6, 7, 22, 5,
752 318, -20, 248, -45,
753 -200, -63, 156, -69,
754 250, -183, 369, -126,
755 -113, -76, -142, -122,
756 -64, -254, -31, 35,
757 -177, -71, -7, 171,
758 93, 27, 108, 212,
759 -330, -209, -123, -70,
760 -279, 95, -96, 20,
761 -188, -61, -314, 87,
762 -300, -78, -354, -134,
763 11, 122, -140, 122,
764 -275, 152, -293, 140,
765 -82, 138, -321, -111,
766 -480, -156, -359, 76,
767 -254, -40, -635, -96,
768 -522, 79, -507, 8,
769 -268, 303, -539, 68,
770 -446, 61, -522, 306,
771 111, 189, -435, 122,
772 -379, 166, -571, -398,
773 -632, -74, -747, -95,
774 -455, 194, -952, 83,
775 -798, 192, -755, 192,
776 -781, -162, -619, 234,
777 -663, -297, -488, -109,
778 -964, -132, -838, -68,
779 -843, 58, -1112, -86,
780 -805, -299, -944, -253,
781 -778, -50, -965, -549,
782 -352, -98, -992, -343,
783 -1117, -315, -1117, -307,
784 -1155, -374, -637, -230,
785 -1166, -43, -1299, -100,
786 -925, -393, -1274, -600,
787 -689, -130, -1479, -312,
788 -1321, -254, -1464, -442,
789 -1292, -613, -1261, -503,
790 -1501, -368, -1322, 26,
791 -1432, -66, -1743, -161,
792 -1644, -467, -1760, -548,
793 -1393, -568, -1556, -871,
794 -1495, -1034, -1387, -571,
795 -1917, -528, -1783, -123,
796 -1897, -231, -2054, -323,
797 -2052, -906, -1976, -567,
798 -1917, -620, -2047, -989,
799 -1077, -370, -2031, -704,
800 -2355, -749, -2740, -1089,
801 -1909, 159, -2012, 248,
802 -626, -123, -2339, -962,
803 -669, -408, -1379, -1174,
804 -452, -364, -1044, -735,
805 -132, 183, -1620, -752,
806 -547, -307, -777, -1261,
807 -98, 41, -880, -1091,
808 -257, 97, -1602, -1833,
809 31, -26, -644, -561,
810 -180, -546, -385, -1095,
811 -410, -802, -414, -827,
812 -457, -970, -490, -1109,
813 -215, -916, -144, -937,
814 -493, -1269, -517, -1507,
815 181, 101, -332, -889,
816 -836, -937, -559, -429,
817 -629, -547, -183, -337,
818 -545, -82, -250, -286,
819 5, -132, -348, -252,
820 -293, -472, -158, 100,
821 -29, 197, -236, -424,
822 -861, -213, -140, -7,
823 -427, -443, 187, -97,
824 -684, -736, -293, 258,
825 -368, -152, -150, 392,
826 -609, 175, -142, 299,
827 -138, 152, -119, 329,
828 -486, -52, 293, 198,
829 -183, 117, 175, 331,
830 -58, -274, 231, 300,
831 -288, 330, -305, 372,
832 -111, 409, -9, 423,
833 83, 256, 67, 367,
834 -19, 248, 91, 113,
835 -35, 406, -191, 154,
836 238, 296, 5, 197,
837 141, 221, 313, 198,
838 211, 421, 244, 334,
839 88, 426, -243, 454,
840 202, 552, -5, 403,
841 291, 185, 219, 301,
842 251, 138, 128, 69,
843 197, 288, -140, -61,
844 188, 361, 197, 598,
845 442, 273, 290, 143,
846 472, 482, 157, 370,
847 415, 321, 372, 385,
848 402, 552, 155, 24,
849 550, 263, -11, 21,
850 360, 227, 147, -254,
851 424, 97, 366, -13,
852 375, 141, 449, 232,
853 396, 507, 474, 272,
854 701, 324, 362, -47,
855 587, 148, 543, 69,
856 400, -51, 561, 59,
857 220, -10, 352, 147,
858 206, 211, 653, 185,
859 563, 297, 565, 284,
860 594, 121, 766, 192,
861 398, 118, 642, 434,
862 233, 264, 481, 467,
863 129, -165, 699, 239,
864 90, 26, 342, 474,
865 -55, 27, 388, 94,
866 -172, 0, 725, 379,
867 -60, 337, 370, 465,
868 95, 319, 806, 595,
869 78, 260, 497, 851,
870 210, 560, 458, 574,
871 -464, 202, 497, 625,
872 -202, 152, 48, 712,
873 -20, 566, 100, 715,
874 455, 468, 411, 605,
875 319, 646, 195, 615,
876 401, 538, 680, 739,
877 201, 667, 434, 954,
878 454, 425, 646, 491,
879 606, 681, 416, 508,
880 497, 822, 426, 815,
881 660, 647, 628, 716,
882 697, 466, 618, 457,
883 685, 460, 365, 309,
884 721, 567, 836, 601,
885 609, 300, 825, 459,
886 943, 687, 681, 533,
887 915, 598, 591, 243,
888 876, 451, 874, 420,
889 786, 317, 732, 220,
890 922, 317, 1108, 367,
891 531, 466, 1028, 649,
892 1053, 615, 1034, 553,
893 829, 602, 1021, 799,
894 927, 803, 878, 763,
895 799, 496, 1373, 773,
896 585, 770, 803, 930,
897 1099, 793, 1222, 862,
898 1209, 895, 1025, 727,
899 772, 845, 1172, 1115,
900 867, 1021, 830, 1013,
901 841, 910, 506, 703,
902 1239, 1077, 620, 819,
903 1196, 1083, 1155, 1081,
904 1142, 907, 1547, 1121,
905 1309, 648, 1343, 612,
906 1484, 988, 1479, 937,
907 985, 1328, 955, 1341,
908 429, 910, 841, 1338,
909 564, 1179, 412, 1156,
910 1427, 1320, 1434, 1330,
911 640, 760, 1726, 1410,
912 190, 555, 1073, 1005,
913 426, 257, 839, 980,
914 235, 231, 1520, 1167,
915 109, 293, 1014, 1569,
916 305, 142, 1148, 539,
917 -291, -108, 1213, 972,
918 22, -216, 667, 828,
919 -482, 438, 453, 1431,
920 -581, -422, 789, 387,
921 -358, -454, 174, 780,
922 -36, -372, 390, -134,
923 -629, 160, -306, 751,
924 -1258, -331, 177, 522,
925 -248, 574, -251, 639,
926 -531, 407, -596, 394,
927 -419, 789, -617, 801,
928 -986, 399, -857, 727,
929 -7, 518, -703, 310,
930 -1143, -24, -1002, 287,
931 -960, 363, -1299, 312,
932 -1534, 245, -1557, 305,
933 28, 153, -859, -175,
934 -33, 332, -1398, -154,
935 212, 410, -593, -197,
936 -1092, -704, -904, -65,
937 282, 367, -918, -686,
938 345, 93, -258, -357,
939 696, 644, -693, -28,
940 448, 493, -273, 193,
941 527, 546, -243, -513,
942 384, -136, 273, -353,
943 512, -142, 537, -198,
944 941, 750, 83, 248,
945 578, 861, -56, 592,
946 842, 44, 892, 24,
947 33, 890, -16, 982,
948 831, 1398, 1535, 1898,
949 1716, 1376, 1948, 1465
950 };
951
952 const Word16 dico5_lsf[DICO5_SIZE * 4] =
953 {
954 -1002, -929, -1096, -1203,
955 -641, -931, -604, -961,
956 -779, -673, -835, -788,
957 -416, -664, -458, -766,
958 -652, -521, -662, -495,
959 -1023, -509, -1023, -428,
960 -444, -552, -368, -449,
961 -479, -211, -1054, -903,
962 -316, -249, -569, -591,
963 -569, -275, -541, -191,
964 -716, -188, -842, -264,
965 -333, -248, -318, -228,
966 -275, 1, -567, -228,
967 -115, -221, -238, -374,
968 -197, -507, -222, -579,
969 -258, -432, -61, -244,
970 -345, 2, -338, 39,
971 -215, -169, -58, 0,
972 -56, -6, -203, -131,
973 1, -186, -5, -211,
974 6, -380, 11, -418,
975 -116, 131, -134, 113,
976 89, -4, 71, -2,
977 -19, -192, 262, 24,
978 189, 151, -133, -109,
979 186, -153, 166, -219,
980 37, 139, 193, 171,
981 337, 124, 158, -61,
982 141, 226, -13, 190,
983 231, 34, 354, 109,
984 316, 201, 244, 164,
985 330, -85, 390, -84,
986 254, 327, 257, 335,
987 491, 147, 476, 105,
988 54, 77, 437, 370,
989 421, 314, 449, 342,
990 329, 126, 673, 292,
991 571, 388, 243, 193,
992 653, 320, 621, 280,
993 194, 380, 517, 581,
994 45, 323, 111, 422,
995 489, 395, 734, 534,
996 622, 546, 486, 502,
997 318, 572, 189, 550,
998 385, 422, -157, 153,
999 -125, 382, -197, 386,
1000 -263, 334, 228, 697,
1001 -188, 1, 51, 297,
1002 -507, 213, -376, 397,
1003 -24, 255, -547, 89,
1004 -502, -94, 387, 179,
1005 -620, 68, -684, 112,
1006 -642, -350, -260, 172,
1007 -438, -324, 264, 648,
1008 -964, -4, -1121, 7,
1009 -134, 134, -1133, -306,
1010 143, 96, -420, -497,
1011 -1221, -350, -1527, -685,
1012 -161, 72, 873, 691,
1013 732, 283, 921, 353,
1014 334, 475, 1095, 821,
1015 864, 524, 843, 497,
1016 714, 711, 788, 750,
1017 1076, 714, 1204, 753
1018 };