1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 /**************************************************************************************** 19 Portions of this file are derived from the following 3GPP standard: 20 21 3GPP TS 26.073 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 23 Available from http://www.3gpp.org 24 25 (C) 2004, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC) 26 Permission to distribute, modify and use this file under the standard license 27 terms listed above has been obtained from the copyright holder. 28 ****************************************************************************************/ 29 /* 30 31 Filename: /audio/gsm_amr/c/src/q_plsf_3_tbl.c 32 33 ------------------------------------------------------------------------------ 34 REVISION HISTORY 35 36 Description: Created this file from the reference, q_plsf_3_tbl.tab 37 38 Description: Added #ifdef __cplusplus and removed "extern" from table 39 definition. 40 41 Description: Put "extern" back. 42 43 Who: Date: 44 Description: 45 46 ------------------------------------------------------------------------------ 47 MODULE DESCRIPTION 48 49 ------------------------------------------------------------------------------ 50 */ 51 52 /*---------------------------------------------------------------------------- 53 ; INCLUDES 54 ----------------------------------------------------------------------------*/ 55 #include "q_plsf_3_tbl.h" 56 57 /*--------------------------------------------------------------------------*/ 58 59 /*---------------------------------------------------------------------------- 60 ; MACROS 61 ; [Define module specific macros here] 62 ----------------------------------------------------------------------------*/ 63 64 /*---------------------------------------------------------------------------- 65 ; DEFINES 66 ; [Include all pre-processor statements here. Include conditional 67 ; compile variables also.] 68 ----------------------------------------------------------------------------*/ 69 70 /*---------------------------------------------------------------------------- 71 ; LOCAL FUNCTION DEFINITIONS 72 ; [List function prototypes here] 73 ----------------------------------------------------------------------------*/ 74 75 /*---------------------------------------------------------------------------- 76 ; LOCAL VARIABLE DEFINITIONS 77 ; [Variable declaration - defined here and used outside this module] 78 ----------------------------------------------------------------------------*/ 79 /* 80 ******************************************************************************** 81 * 82 * GSM AMR-NB speech codec R98 Version 7.5.0 March 2, 2001 83 * R99 Version 3.2.0 84 * REL-4 Version 4.0.0 85 * 86 ******************************************************************************** 87 * 88 * File : q_plsf_3.tab 89 * Purpose : Table for routine LSF VQ. 90 * $Id $ 91 * 92 ******************************************************************************** 93 */ 94 95 96 /* initalization table for MA predictor in dtx mode */ 97 const Word16 past_rq_init[80] = 98 { 99 -258, -318, -439, -634, -656, -773, -711, -502, -268, -193, 100 -2, 125, 122, -39, -9, 105, 129, 283, 372, 575, 101 -277, -324, -197, -487, -445, -362, -292, -27, 177, 543, 102 342, 517, 516, 130, 27, -104, -120, -140, -74, -56, 103 -564, -943, -1520, -965, -814, -526, -322, -2, 159, 657, 104 -312, -284, -386, -597, -493, -526, -418, -229, 105, 449, 105 -557, -870, -1075, -919, -950, -752, -709, -316, 62, 486, 106 -314, -191, -203, -330, -160, -103, -51, 131, 338, 515 107 }; 108 109 110 const Word16 mean_lsf_3[10] = 111 { 112 1546, 113 2272, 114 3778, 115 5488, 116 6972, 117 8382, 118 10047, 119 11229, 120 12766, 121 13714 122 }; 123 124 125 const Word16 pred_fac_3[10] = 126 { 127 9556, 128 10769, 129 12571, 130 13292, 131 14381, 132 11651, 133 10588, 134 9767, 135 8593, 136 6484 137 }; 138 139 140 141 /* first codebook from IS641 */ 142 143 const Word16 dico1_lsf_3[DICO1_SIZE*3] = 144 { 145 6, 82, -131, 146 154, -56, -735, 147 183, -65, -265, 148 9, -210, -361, 149 113, 718, 1817, 150 1010, 1214, 1573, 151 857, 1333, 2276, 152 827, 1568, 1933, 153 717, 1989, 2206, 154 838, 1172, 1823, 155 721, 1000, 2154, 156 286, 476, 1509, 157 -247, -531, 230, 158 147, -82, 569, 159 26, -177, -944, 160 -27, -273, 692, 161 -164, -264, -183, 162 224, 790, 1039, 163 899, 946, 601, 164 485, 771, 1150, 165 524, 677, 903, 166 -140, 375, 778, 167 410, 676, 429, 168 301, 530, 1009, 169 719, 646, 38, 170 226, 367, 40, 171 145, -45, -505, 172 290, 121, -121, 173 302, 127, 166, 174 -124, -383, -956, 175 -358, -455, -977, 176 715, 878, 894, 177 978, 923, 211, 178 477, 272, 64, 179 188, -78, 17, 180 -143, -65, 38, 181 643, 586, 621, 182 -134, -426, -651, 183 347, 545, 2820, 184 1188, 2726, 2442, 185 142, -80, 1735, 186 283, 130, 461, 187 -262, -399, -1145, 188 -411, 155, 430, 189 329, 375, 779, 190 53, -226, -139, 191 -129, -236, 1682, 192 285, 744, 1327, 193 738, 697, 1664, 194 312, 409, 266, 195 325, 720, 135, 196 1, 221, 453, 197 8, 203, 145, 198 299, 640, 760, 199 29, 468, 638, 200 103, 429, 379, 201 420, 954, 932, 202 1326, 1210, 1258, 203 704, 1012, 1152, 204 -166, -444, -266, 205 -316, -130, -376, 206 191, 1151, 1904, 207 -240, -543, -1260, 208 -112, 268, 1207, 209 70, 1062, 1583, 210 278, 1360, 1574, 211 -258, -272, -768, 212 19, 563, 2240, 213 -3, -265, 135, 214 -295, -591, -388, 215 140, 354, -206, 216 -260, -504, -795, 217 -433, -718, -1319, 218 109, 331, 962, 219 -429, -87, 652, 220 -296, 426, 1019, 221 -239, 775, 851, 222 489, 1334, 1073, 223 -334, -332, 25, 224 543, 1206, 1807, 225 326, 61, 727, 226 578, 849, 1405, 227 -208, -277, 329, 228 -152, 64, 669, 229 -434, -678, -727, 230 -454, -71, 251, 231 605, 480, 254, 232 -482, 11, 996, 233 -289, 395, 486, 234 722, 1049, 1440, 235 -30, -316, -786, 236 -106, -115, -619, 237 861, 1474, 1412, 238 1055, 1366, 1184, 239 812, 1237, 925, 240 42, -251, -576, 241 342, 141, -454, 242 -168, -80, 1359, 243 -342, -656, -1763, 244 100, 821, 725, 245 990, 747, 800, 246 332, 440, 568, 247 663, 379, 852, 248 112, 165, -369, 249 597, 910, 282, 250 -8, 834, 1281, 251 -352, 572, 695, 252 462, 2246, 1806, 253 345, 190, 1374, 254 416, 915, 2166, 255 168, -82, 280, 256 -516, -446, 840, 257 47, 533, 44, 258 -362, -711, -1143, 259 22, 193, 1472, 260 -85, 233, 1813, 261 -62, 579, 1504, 262 550, 944, 1749, 263 723, 650, 1148, 264 972, 884, 1395, 265 -425, 643, 0, 266 1000, 952, 1098, 267 249, 1446, 672, 268 -334, -87, 2172, 269 -554, 1882, 2672, 270 140, 1826, 1853, 271 920, 1749, 2590, 272 1076, 1933, 2038, 273 -137, -443, -1555, 274 1269, 1174, 468, 275 -493, -122, 1521, 276 -451, 1033, 1214, 277 482, 1695, 1118, 278 815, 649, 384, 279 -446, -692, 107, 280 -319, -605, -118, 281 -207, -505, 525, 282 -468, -12, 2736, 283 75, 1934, 1305, 284 880, 2358, 2267, 285 1285, 1575, 2004, 286 -48, -304, -1186, 287 -435, -461, -251, 288 -366, -404, -547, 289 -289, -605, -597, 290 -538, -810, -165, 291 -120, 3, 356, 292 639, 1241, 1502, 293 96, 177, 750, 294 -435, -585, -1174, 295 -356, 109, -79, 296 -485, 288, 2005, 297 9, 1116, 731, 298 880, 2134, 946, 299 -265, 1585, 1065, 300 1157, 1210, 843, 301 -498, -668, 431, 302 374, 321, -229, 303 1440, 2101, 1381, 304 449, 461, 1155, 305 -105, 39, -384, 306 -263, 367, 182, 307 -371, -660, 773, 308 -188, 1151, 971, 309 1333, 1632, 1435, 310 774, 1267, 1221, 311 -482, -832, -1489, 312 -237, -210, 860, 313 890, 1615, 1064, 314 472, 1062, 1192, 315 185, 1077, 989, 316 -568, -992, -1704, 317 -449, -902, -2043, 318 -142, -377, -458, 319 -210, -554, -1029, 320 -11, 1133, 2265, 321 -329, -675, -893, 322 -250, 657, 1187, 323 519, 1510, 1779, 324 520, 539, 1403, 325 527, 1421, 1302, 326 -563, -871, -1248, 327 -147, -463, 879, 328 -76, 2334, 2840, 329 563, 2573, 2385, 330 632, 1926, 2920, 331 719, 2023, 1840, 332 -545, -723, 1108, 333 129, -125, 884, 334 1417, 1632, 925, 335 -94, 1566, 1751, 336 -341, 1533, 1551, 337 591, 395, -274, 338 -76, 981, 2831, 339 153, 2985, 1844, 340 1032, 2565, 2749, 341 1508, 2832, 1879, 342 791, 1199, 538, 343 -190, -453, 1489, 344 -278, -548, 1158, 345 -245, 1941, 2044, 346 1024, 1560, 1650, 347 512, 253, 466, 348 -62, -323, 1151, 349 -473, -376, 507, 350 -433, 1380, 2162, 351 899, 1943, 1445, 352 134, 704, 440, 353 460, 525, -28, 354 -450, 279, 1338, 355 0, 971, 252, 356 -445, -627, -991, 357 -348, -602, -1424, 358 398, 712, 1656, 359 -107, 314, -178, 360 93, 2226, 2238, 361 518, 849, 656, 362 -462, -711, -447, 363 174, -34, 1191, 364 -119, 42, 1005, 365 -372, 274, 758, 366 1036, 2352, 1838, 367 675, 1724, 1498, 368 430, 1286, 2133, 369 -129, -439, 0, 370 -373, 800, 2144, 371 6, 1587, 2478, 372 478, 596, 2128, 373 -428, -736, 1505, 374 385, 178, 980, 375 139, 449, 1225, 376 -526, -842, -982, 377 145, 1554, 1242, 378 623, 1448, 656, 379 349, 1016, 1482, 380 31, -280, 415, 381 -316, 724, 1641, 382 360, 1058, 556, 383 -436, -358, 1201, 384 -355, 1123, 1939, 385 401, 1584, 2248, 386 -527, -1012, 355, 387 233, 238, 2233, 388 -550, -897, -639, 389 -365, -501, 1957, 390 389, 1860, 1621, 391 162, 1132, 1264, 392 -237, 1174, 1390, 393 -640, -411, 116, 394 -228, 1694, 2298, 395 1639, 2186, 2267, 396 562, 1273, 2658, 397 323, 338, 1774, 398 578, 1107, 852, 399 22, 594, 934, 400 -143, 718, 446 401 }; 402 403 404 /* second codebook from IS641 */ 405 406 const Word16 dico2_lsf_3[DICO2_SIZE*3] = 407 { 408 50, 71, -9, 409 -338, -698, -1407, 410 102, -138, -820, 411 -310, -469, -1147, 412 414, 67, -267, 413 1060, 814, 1441, 414 1548, 1360, 1272, 415 1754, 1895, 1661, 416 2019, 2133, 1820, 417 1808, 2318, 1845, 418 644, -93, 454, 419 858, 329, -136, 420 489, -258, -128, 421 -198, -745, -41, 422 -52, -265, -985, 423 346, 137, 479, 424 -1741, -748, -684, 425 -1163, -1725, -367, 426 -895, -1145, -784, 427 -488, -946, -968, 428 -85, -390, -725, 429 215, -340, -171, 430 1020, 916, 1969, 431 564, 179, 746, 432 662, 977, 1734, 433 887, 622, 914, 434 939, 856, 1165, 435 309, 688, 803, 436 917, 161, 570, 437 118, -20, -283, 438 -816, -42, 204, 439 -1228, -325, -462, 440 -963, -202, -143, 441 -988, -484, -361, 442 -702, -978, -477, 443 -302, -790, -1188, 444 -100, -786, -1088, 445 -1054, -947, -1684, 446 -202, -843, -782, 447 -1039, -1378, -901, 448 -624, -110, -85, 449 356, 213, -10, 450 -493, 364, 774, 451 425, 822, 479, 452 -83, 557, 520, 453 -992, -1560, -572, 454 -603, -741, -26, 455 -502, -638, -903, 456 209, 306, 147, 457 -316, -593, -596, 458 -85, -211, -225, 459 -918, -529, 117, 460 233, -439, -738, 461 1101, 751, 633, 462 1457, 1716, 1511, 463 1765, 1457, 910, 464 1122, 1156, 849, 465 1354, 868, 470, 466 -871, -1150, -1796, 467 -871, -861, -992, 468 -118, 155, 212, 469 -1051, -849, -606, 470 -1117, -1849, -2750, 471 -1019, -1427, -1869, 472 370, -184, -414, 473 959, 493, 104, 474 958, 1039, 543, 475 154, 653, 201, 476 1249, 507, 150, 477 663, 503, 230, 478 623, 777, 675, 479 659, 88, -110, 480 843, 244, 224, 481 382, 541, 302, 482 724, 433, 666, 483 1166, 734, 341, 484 -138, 20, -397, 485 -1183, -424, -46, 486 -321, -352, -124, 487 1333, 1021, 1080, 488 262, 366, 723, 489 922, 283, -551, 490 31, -636, -611, 491 -689, -697, -415, 492 -952, -779, -201, 493 -1329, -598, -359, 494 -953, -1285, 166, 495 493, 305, 221, 496 846, 703, 610, 497 840, 936, 774, 498 -723, -1324, -1261, 499 -357, -1025, -1388, 500 -1096, -1376, -365, 501 -1416, -1881, -608, 502 -1798, -1727, -674, 503 -545, -1173, -703, 504 678, 786, 148, 505 -123, 696, 1288, 506 644, 350, -10, 507 414, 614, 15, 508 137, 344, -211, 509 -814, -1512, -819, 510 -391, -930, -588, 511 47, -591, -898, 512 -909, -1097, -163, 513 -1272, -1167, -157, 514 -1464, -1525, -389, 515 -1274, -1188, -624, 516 671, 213, 454, 517 124, -274, -525, 518 -729, -496, -152, 519 -1344, 122, 135, 520 -2905, -589, -394, 521 -1728, 441, -50, 522 1476, 904, 787, 523 316, 236, -440, 524 -347, 217, 413, 525 -911, -917, 121, 526 -455, -932, 202, 527 -92, -465, -375, 528 488, 390, 474, 529 876, 729, 316, 530 -1815, -1312, -669, 531 87, 962, 432, 532 563, -249, -1058, 533 250, 285, 1105, 534 1141, 427, 696, 535 -1038, -1664, -1582, 536 -948, 346, 160, 537 -309, -272, -858, 538 670, 624, 1250, 539 -944, -408, -666, 540 -606, -320, -384, 541 -492, 230, 65, 542 334, -50, -16, 543 -16, -690, -1397, 544 1791, 1716, 1399, 545 2478, 2063, 1404, 546 1245, 1471, 1426, 547 -382, -1037, -2, 548 173, -398, 1145, 549 1491, 2024, 1801, 550 772, 1274, 1506, 551 1429, 1735, 2001, 552 1079, 1218, 1273, 553 -1154, -1851, -1329, 554 -808, -1133, -1096, 555 -451, -1033, -1722, 556 65, 578, -84, 557 -1476, -2434, -1778, 558 -765, -1366, -494, 559 -218, -594, -931, 560 337, -236, 562, 561 2357, 2662, 1938, 562 1489, 1276, 874, 563 189, 358, 374, 564 -1519, -2281, -2346, 565 -967, -1271, -2095, 566 -628, -1188, -1542, 567 1661, 1043, 546, 568 565, 1061, 732, 569 -64, -836, -434, 570 -436, -96, 203, 571 1078, 1216, 1636, 572 907, 1534, 986, 573 326, 965, 845, 574 142, -84, 197, 575 470, 2379, 1570, 576 1133, 470, 1214, 577 395, 1376, 1200, 578 1125, 1042, 348, 579 -543, -1234, -376, 580 -215, -181, 481, 581 -1947, -1621, -210, 582 -750, -1185, 390, 583 29, -399, 27, 584 820, 1236, 755, 585 695, 979, 409, 586 -174, 1197, 1035, 587 912, 1356, 1846, 588 -992, -1437, 484, 589 -1485, -1700, 208, 590 -412, 1204, 1432, 591 -271, 896, 1144, 592 -416, 1777, 1434, 593 -1696, -2644, -204, 594 -1789, -1551, 1033, 595 -1656, -1559, 1303, 596 -1253, -1589, 1081, 597 -669, -1095, -66, 598 -682, 320, -345, 599 659, 305, 1069, 600 -1292, -804, -19, 601 -1635, -1291, 29, 602 -1683, -497, 71, 603 -287, -7, -100, 604 -494, -962, -237, 605 852, 1881, 1740, 606 -1217, -1387, 227, 607 -660, 302, 373, 608 96, 1087, 1257, 609 -1074, -1669, 160, 610 485, 2076, 1798, 611 -934, -220, 552, 612 -596, -612, 237, 613 336, 1720, 879, 614 643, 629, 434, 615 1267, 522, 1633, 616 15, 244, -441, 617 1475, 717, 184, 618 1819, 1590, 1709, 619 988, 261, 937, 620 2093, 2345, 1520, 621 2139, 1858, 1606, 622 -577, -579, -1203, 623 -956, 135, -488, 624 -464, 51, -338, 625 -629, -348, -723, 626 1146, 2073, 1442, 627 2192, 1466, 911, 628 -1444, -1572, -2278, 629 1400, 710, 1297, 630 1335, 633, 928, 631 1434, 2194, 2594, 632 2422, 2204, 1881, 633 982, 2242, 1854, 634 380, 792, 1145, 635 -63, -539, 414, 636 -252, -964, -314, 637 -1261, -683, -780, 638 -831, -526, -1005, 639 -1666, -1135, -424, 640 -1611, -452, -299, 641 1268, 1048, 642, 642 1147, 853, 856, 643 -675, -336, 139, 644 2268, 1343, 1418, 645 29, 768, 797, 646 -1224, 423, 564, 647 -1318, -1082, 245, 648 -1302, -812, 573, 649 -1298, -1617, 646, 650 -968, 834, 723, 651 993, 1652, 2027, 652 -191, -817, 432, 653 662, 60, 198, 654 626, 997, 1330, 655 1648, 1963, 1289, 656 -1597, -93, -45, 657 -1088, 37, -84, 658 1653, 2607, 2337, 659 1065, 2040, 2377, 660 1139, 2326, 2118, 661 859, 357, 1510, 662 664, 1227, 1099, 663 479, 1360, 912, 664 1897, 1754, 2019, 665 1168, 1909, 1784, 666 399, 34, 256, 667 -593, -304, -1053, 668 547, 1694, 1407, 669 647, -99, -341, 670 1492, 1647, 1190, 671 38, -644, -212, 672 395, 846, 222, 673 -704, -765, -716, 674 -724, -1964, -2804, 675 -150, 291, -82, 676 1233, 1459, 1007, 677 -140, -155, 153, 678 439, 297, 1568, 679 -1529, -410, -636, 680 1536, 455, -237, 681 -1328, -139, -260, 682 531, 554, 868, 683 269, 1264, 606, 684 -233, 883, 463, 685 742, 600, -120, 686 -73, 421, 212, 687 -439, -58, 804, 688 -1286, -1241, 728, 689 294, -490, 50, 690 -591, -905, -1254, 691 42, -687, 147, 692 -25, 273, 596, 693 -311, 1213, 601, 694 -754, 849, 584, 695 429, 607, 587, 696 -602, -166, 461, 697 -796, -823, 777, 698 1380, 910, 1755, 699 119, 1417, 972, 700 -219, -880, -1596, 701 -1049, -1010, 438, 702 -713, -1379, 78, 703 0, -447, -1179, 704 -1136, -1319, -1573, 705 2248, 1767, 1309, 706 946, 1583, 1432, 707 1150, 482, 436, 708 -469, -1108, 618, 709 -447, -966, 1088, 710 -1252, -1515, -114, 711 -1104, -2008, -579, 712 210, 613, 497, 713 -1975, -1437, 642, 714 -1269, -856, 1011, 715 -1646, -1185, 1063, 716 -1555, -672, 1204, 717 -1692, -1114, 623, 718 -979, -1326, -1277, 719 539, -147, 894, 720 -1354, -897, -434, 721 888, 475, 428, 722 153, -384, 338, 723 -1492, -511, 359, 724 -974, -1115, -470, 725 105, -550, 677, 726 -937, -1145, 877, 727 380, -260, 210, 728 1685, 924, 1256, 729 1775, 1190, 1095, 730 1419, 631, 533, 731 627, 299, -347, 732 -411, -534, 647, 733 -650, 29, -595, 734 -378, -1367, 1563, 735 1402, 1121, 1465, 736 1089, 1410, 648, 737 -2096, -1090, -6, 738 311, -194, -869, 739 -639, -831, 416, 740 -1162, -1224, 1349, 741 -1247, -941, 1813, 742 -2193, -1987, 453, 743 -619, -1367, -956, 744 -1606, -1972, -1507, 745 -1175, -1057, -1104, 746 -377, 601, 201, 747 1876, 825, 374, 748 -430, -1323, 29, 749 -1397, -1249, -1331, 750 -1007, -1504, 960, 751 -1401, -2009, 197, 752 -1379, -1949, -236, 753 -1077, 123, 422, 754 615, 1269, 546, 755 -306, 1526, 904, 756 1194, 1788, 1177, 757 -626, -884, -1526, 758 199, 766, 1504, 759 -1065, 862, 197, 760 -1034, -1773, -887, 761 -800, 145, 599, 762 -1134, -519, 626, 763 -1205, -1926, 500, 764 -910, -1041, -1395, 765 -1476, -1567, -969, 766 -523, 842, 34, 767 1794, 646, 862, 768 -1207, -1888, -1002, 769 -78, -9, -672, 770 1044, 759, 80, 771 -600, 1139, 1019, 772 57, 2000, 1422, 773 -833, 1414, 1121, 774 -1202, 1630, 1260, 775 -461, 1420, 1244, 776 1537, 975, 253, 777 -283, 324, -359, 778 599, -195, 106, 779 588, 62, -587, 780 -757, 645, 205, 781 51, 1201, 758, 782 -1209, 673, -390, 783 -624, 1581, 941, 784 -151, 1023, 735, 785 2820, 1301, 690, 786 -302, 524, -99, 787 -900, -1588, -1189, 788 1084, 251, 238, 789 2014, 1792, 1010, 790 1245, 1633, 1741, 791 -1227, -1540, -1208, 792 -621, 456, -109, 793 40, -65, 788, 794 -805, -699, -1350, 795 -583, 904, 832, 796 -801, 532, 594, 797 1972, 1408, 1351, 798 -1177, -1880, -2114, 799 -773, 568, 948, 800 -1015, 1079, 1260, 801 -1111, 482, -130, 802 1778, 1044, 780, 803 -1491, 245, 912, 804 -316, -1141, -917, 805 -536, -1442, -2346, 806 -785, -1546, -1988, 807 -2003, 257, 909, 808 -1849, -633, -1209, 809 -1538, -1918, -1054, 810 1606, 2239, 1576, 811 -567, -1500, -1544, 812 -1279, 195, 1369, 813 -817, 293, 1219, 814 -525, 630, 1197, 815 -1698, -2425, -1840, 816 -303, 731, 747, 817 -1169, -251, 269, 818 -950, -75, 1684, 819 -1182, -453, 1005, 820 -1599, 585, 378, 821 -2075, -571, -427, 822 -529, -1159, -1171, 823 -283, -205, -564, 824 -796, 1246, 717, 825 2277, 927, 539, 826 -454, 559, 440, 827 -717, 1460, 1615, 828 -1030, 1052, 1610, 829 -1169, -138, 847, 830 226, 39, -612, 831 -1251, -106, -729, 832 -651, 968, 1302, 833 -714, -636, 1727, 834 353, 1069, 410, 835 -798, -156, 1099, 836 -574, 918, 446, 837 -1310, 1012, 466, 838 1408, 1591, 765, 839 1429, 1380, 1757, 840 1949, 1956, 2378, 841 1578, 2047, 2148, 842 916, 98, -7, 843 1893, 1418, 2141, 844 348, 1405, 1579, 845 152, 1134, 1801, 846 -267, 154, 1395, 847 -1166, 469, 1054, 848 -1142, -405, -1073, 849 -1341, -2264, -1581, 850 -364, 869, 1706, 851 -1162, 549, 1550, 852 -1225, -1932, -1666, 853 -1485, -1977, -2055, 854 -1727, -906, -98, 855 -1897, 233, 1492, 856 892, 108, -331, 857 -1728, -1170, -1700, 858 -1060, 1980, 1790, 859 -1070, -1741, -1909, 860 -11, 1539, 1317, 861 -1600, 94, 497, 862 421, 443, -197, 863 -1578, -349, -994, 864 -599, -539, 1140, 865 -965, -1419, -129, 866 -1341, 175, -447, 867 -375, 1311, 2055, 868 -371, -650, -307, 869 -1073, 605, 365, 870 -2057, -113, 430, 871 652, 914, 967, 872 -1012, -1586, -2323, 873 1505, 1248, 559, 874 262, -486, -401, 875 -1727, 1342, 1546, 876 50, 56, 432, 877 -330, 119, -604, 878 -1517, -1080, -810, 879 946, 1127, 1055, 880 -1400, -1703, -1712, 881 -1270, -704, -1317, 882 807, 1821, 1143, 883 2760, 1606, 2171, 884 1120, 409, -150, 885 -147, 404, 959, 886 2439, 1911, 2189, 887 -906, -141, -866, 888 -904, -142, -458, 889 -557, -708, -1679, 890 -830, -1431, -1583, 891 -1842, -1346, -1086, 892 -1604, -272, 915, 893 -1196, 772, 1056, 894 -638, -1234, -1897, 895 -500, -81, -822, 896 -1289, -1613, -735, 897 -117, 785, 168, 898 -1090, 1133, 922, 899 -1096, -746, 1384, 900 287, -547, -1063, 901 -1376, -2201, -1204, 902 -2176, -1570, -1757, 903 -1511, -2241, -771, 904 -1737, 1099, 830, 905 -1588, 724, 1243, 906 -1542, 693, 805, 907 -1690, -240, 1665, 908 -1700, -4, -668, 909 2149, 816, 1042, 910 -818, -1841, 22, 911 -764, -507, 449, 912 -1151, -617, 289, 913 -843, -1596, -240, 914 498, -234, -657, 915 -752, 480, 1678, 916 -319, -481, 193, 917 -811, 171, -119, 918 -2128, -202, -848, 919 1717, 1140, 1700 920 }; 921 922 923 /* third codebook from IS641 */ 924 925 const Word16 dico3_lsf_3[DICO3_SIZE*4] = 926 { 927 67, -17, 66, -12, 928 -1690, -581, -104, -272, 929 -1076, -1186, -1845, -376, 930 -1140, -926, -420, -58, 931 -259, -656, -1134, -553, 932 1788, 1227, 455, 129, 933 462, 441, -240, -528, 934 840, 514, 130, -75, 935 1114, 623, 153, 216, 936 1068, 564, -6, -276, 937 1119, 727, 190, -68, 938 704, 306, 119, -264, 939 329, 61, -100, 156, 940 364, 123, 183, -208, 941 -171, -123, 220, -65, 942 -306, -62, 402, 17, 943 -660, -938, -266, 0, 944 385, 235, 276, 285, 945 320, 268, -336, -200, 946 -724, 17, -84, 381, 947 -544, 429, 494, 519, 948 -117, 288, 304, 329, 949 643, 157, 701, 508, 950 1200, 625, 796, 608, 951 998, 421, 492, 632, 952 1204, 780, 446, 132, 953 1257, 844, 547, 449, 954 829, 658, 541, 470, 955 1132, 1258, 918, 639, 956 547, 51, 423, 279, 957 9, 392, 83, 94, 958 542, 543, 229, -147, 959 -198, 129, 194, -185, 960 -863, -1321, -302, 30, 961 -597, -629, -19, 114, 962 -900, -1081, 466, 353, 963 -1483, -1573, 15, -143, 964 -1708, -2059, -751, 196, 965 -1876, -2067, -642, -258, 966 -2335, -1470, -450, -564, 967 -584, -186, -872, -414, 968 -1805, -988, -1125, -1310, 969 -726, -1129, 28, 169, 970 -1039, -864, -718, -246, 971 484, 36, -233, -49, 972 265, 67, 289, 467, 973 178, 543, 810, 540, 974 84, 282, 672, 703, 975 -975, -777, 129, 287, 976 -938, -227, 955, 595, 977 -1617, -289, 836, 649, 978 -1847, -215, 1106, 718, 979 -2034, -1085, 650, 440, 980 -2101, -529, 907, 575, 981 -2011, -336, 670, 204, 982 -2389, -692, 360, 137, 983 -2156, -2204, -9, 280, 984 -266, 119, 39, 193, 985 78, -59, -120, 226, 986 -975, -858, -781, -1095, 987 -619, -413, -451, -842, 988 -1216, -1321, -813, -883, 989 -1376, -1615, -394, -428, 990 -737, -1113, -549, -790, 991 -880, -975, -967, -642, 992 -985, -886, -1273, -1361, 993 -473, -804, -1401, -1407, 994 160, -265, -919, -275, 995 -248, -250, -718, -380, 996 97, -103, -375, -229, 997 -415, -193, -135, -555, 998 628, 361, 119, 216, 999 579, 364, 391, 209, 1000 634, 522, -154, -148, 1001 526, 389, 170, 33, 1002 105, 267, 64, 380, 1003 -1503, -1000, -30, -369, 1004 -1070, 58, 647, 223, 1005 -1520, -291, 621, 307, 1006 -1531, 156, 762, 404, 1007 -2029, 141, 734, 499, 1008 -1849, -650, 306, 512, 1009 -187, -104, -59, 438, 1010 134, -230, 156, -186, 1011 -61, -260, -16, 10, 1012 -569, -3, -421, -297, 1013 -1725, -521, -346, 178, 1014 -1362, -59, -44, 157, 1015 -2146, -461, -470, -349, 1016 -2170, -1, -369, -121, 1017 -1579, -373, -900, -1015, 1018 -1117, -591, -613, -784, 1019 -561, 122, -75, -449, 1020 -4, -171, -123, -372, 1021 192, 168, -76, -132, 1022 252, -107, 340, 210, 1023 392, 509, 272, 181, 1024 -109, 145, 218, 119, 1025 -416, -263, 485, 265, 1026 -181, -8, -286, 226, 1027 -244, -218, 69, -290, 1028 -158, 191, -1, -64, 1029 -592, -90, 213, -96, 1030 255, 435, 178, -80, 1031 -369, -18, -33, -80, 1032 -42, 415, 140, -222, 1033 1143, 651, 649, 329, 1034 767, 556, 249, 235, 1035 948, 413, 442, 279, 1036 141, 339, 356, 557, 1037 -470, -170, 99, 237, 1038 -569, -800, 352, 565, 1039 282, 473, 470, 332, 1040 -199, -690, -1284, -917, 1041 -193, -426, -800, -1122, 1042 -26, -371, -490, -193, 1043 637, 595, 519, 330, 1044 408, -115, 79, 12, 1045 477, 87, -103, -376, 1046 -666, -347, -277, -291, 1047 -510, -481, 169, 297, 1048 -829, -738, -205, -171, 1049 -320, -540, 328, 283, 1050 -859, -958, 442, -2, 1051 556, 686, 130, 56, 1052 1383, 1012, 755, 427, 1053 612, 741, 628, 553, 1054 -339, -796, 134, 277, 1055 -633, -1085, -2, -246, 1056 -880, -1035, -1607, -1064, 1057 -994, -474, -1138, -488, 1058 -414, -795, 73, -206, 1059 -8, -139, 439, 204, 1060 -176, -578, 23, 131, 1061 -269, -757, -191, 245, 1062 -109, -338, 112, 316, 1063 120, -406, -118, 611, 1064 -180, -186, -645, 115, 1065 -173, 34, -518, -489, 1066 -151, 61, -583, -844, 1067 220, -138, -681, -1020, 1068 391, -17, -598, -321, 1069 157, -295, 129, 155, 1070 -926, -875, -987, 285, 1071 241, -83, -125, -125, 1072 620, 597, 432, 92, 1073 393, 78, 409, 61, 1074 -393, -739, -413, -748, 1075 83, 54, 361, 27, 1076 -1084, 130, -337, -694, 1077 -1565, 297, 318, -19, 1078 -1873, 36, 51, -317, 1079 -2323, -246, 231, -84, 1080 -2306, -783, 40, -179, 1081 -2233, -930, -474, -462, 1082 -754, -86, -288, -626, 1083 -2411, -455, -63, 171, 1084 -1099, -1094, -26, -143, 1085 -1193, -455, -406, -381, 1086 -605, -210, -96, -51, 1087 -580, -476, -276, -15, 1088 -1195, -634, -1203, -881, 1089 -378, -221, -669, -952, 1090 594, 178, -403, -676, 1091 763, 327, 601, 290, 1092 172, 300, 203, 157, 1093 -56, -336, 356, 24, 1094 -228, -296, -259, -29, 1095 -186, 263, 416, 14, 1096 -353, 373, -12, -216, 1097 257, 96, 174, 57, 1098 -1526, -616, -954, -499, 1099 -497, -152, -333, 125, 1100 105, 200, 179, -97, 1101 -331, -224, 765, 697, 1102 760, 256, 301, 59, 1103 455, -85, 204, 288, 1104 -514, 240, 251, -109, 1105 256, 417, -34, -413, 1106 101, 430, 384, 156, 1107 -31, -10, 206, 426, 1108 589, 145, 143, 71, 1109 808, 906, 333, 349, 1110 986, 938, 589, 331, 1111 1300, 824, 187, 509, 1112 1062, 653, 379, 466, 1113 1462, 937, 401, 274, 1114 787, 861, 265, 2, 1115 609, 553, 28, 305, 1116 926, 340, 106, 386, 1117 241, -267, -147, 225, 1118 -178, -534, 347, 502, 1119 -643, -381, 397, 30, 1120 -651, -733, -435, 398, 1121 -407, -726, -484, -248, 1122 -789, -914, -438, -476, 1123 -498, -390, 75, -295, 1124 -964, -590, -606, 150, 1125 -121, -49, -155, -78, 1126 935, 550, 389, 38, 1127 -321, 127, 424, 315, 1128 -285, -113, 283, 259, 1129 658, 203, 322, 486, 1130 903, 505, 748, 417, 1131 611, 423, 555, 512, 1132 239, -83, -578, -19, 1133 -339, -731, 349, 13, 1134 -934, -1399, -114, -360, 1135 107, 692, 182, 90, 1136 -1243, -1538, -1551, -725, 1137 -568, -903, -1363, -525, 1138 -517, -853, -861, -1004, 1139 -168, -690, -835, 63, 1140 -137, -556, -547, 144, 1141 -286, -817, 485, 319, 1142 -147, -408, 526, 246, 1143 -347, -434, 297, -28, 1144 -290, -471, -1110, -1285, 1145 -460, -359, -988, -794, 1146 1347, 1299, 690, 523, 1147 1216, 1068, 1094, 757, 1148 825, 1140, 752, 494, 1149 1252, 1365, 1195, 898, 1150 521, 1053, 532, 432, 1151 -334, -216, -313, -263, 1152 -160, 52, -472, -155, 1153 127, 136, -380, 44, 1154 851, 410, -162, -489, 1155 123, -255, -796, -667, 1156 1090, 917, 789, 493, 1157 1397, 1197, 558, 202, 1158 -51, -118, -342, -701, 1159 83, 108, -42, -441, 1160 61, 95, 287, 256, 1161 -27, 89, 524, 531, 1162 351, 227, 592, 545, 1163 697, 155, -164, 307, 1164 638, 274, -489, -50, 1165 754, 240, -166, -124, 1166 -116, -579, -1212, -63, 1167 190, -295, -1040, -1296, 1168 147, -376, -177, -113, 1169 841, 1241, 1051, 668, 1170 2, 293, 551, 304, 1171 -1096, -953, -248, 376, 1172 -750, -965, 87, 516, 1173 -275, -516, 689, 391, 1174 -379, -643, 876, 594, 1175 -390, -1013, -645, 573, 1176 -107, -568, -689, -826, 1177 -1025, -27, -328, -203, 1178 861, 749, 548, 233, 1179 -1660, -1043, 451, 108, 1180 -660, -620, 430, 236, 1181 21, -396, -1158, -631, 1182 1372, 1298, 967, 577, 1183 1125, 1125, 589, 454, 1184 -323, -865, -467, 153, 1185 -468, -699, -804, -509, 1186 -392, -718, -204, -35, 1187 -603, -1093, -567, -162, 1188 -505, -1004, -102, 350, 1189 219, 224, 423, 252, 1190 395, 591, 608, 363, 1191 -746, -96, 373, 172, 1192 171, 295, 714, 339, 1193 233, 77, 107, 277, 1194 157, 153, -499, -356, 1195 1547, 1073, 576, 494, 1196 -292, -339, -504, -592, 1197 -903, -72, -619, -481, 1198 -1594, -1117, -567, -254, 1199 -793, -507, -564, -291, 1200 -492, -532, 502, 560, 1201 -382, 427, 600, 230, 1202 -227, 477, 251, 75, 1203 285, 842, 813, 476, 1204 -1310, -1333, 186, 377, 1205 -587, -917, 643, 381, 1206 -1186, -553, 411, 82, 1207 -1127, -820, -174, -540, 1208 -604, 119, 543, 205, 1209 -380, 657, 909, 567, 1210 112, -298, -374, 114, 1211 -857, -251, 56, 159, 1212 401, 345, -34, -140, 1213 -111, -607, 41, 614, 1214 355, -114, -77, 474, 1215 578, 56, 1450, 924, 1216 1098, 1420, 741, 400, 1217 246, 22, 588, 313, 1218 -121, 327, 831, 472, 1219 -1138, -608, 856, 552, 1220 -1241, -1072, 638, 600, 1221 -358, 254, -333, -303, 1222 -646, 739, 358, 74, 1223 1226, 1671, 1221, 849, 1224 2241, 1624, 983, 636, 1225 1841, 1477, 749, 384, 1226 350, 263, 87, 128, 1227 -1902, -941, -144, -64, 1228 -1734, -255, 288, -31, 1229 -2644, -1238, 366, 235, 1230 -1643, -1092, -1344, -304, 1231 -541, -1075, -1116, 123, 1232 -1178, -252, -816, -180, 1233 -1016, 533, 565, 233, 1234 -487, -430, -188, 334, 1235 867, 1236, 534, 171, 1236 -1590, -1607, 635, 630, 1237 -2196, 310, 924, 412, 1238 -2358, -328, 956, 529, 1239 -2639, -377, 630, 278, 1240 -2602, 317, 799, 299, 1241 -2406, 133, 340, 31, 1242 -2156, -1468, 131, 125, 1243 -1184, -490, -139, 46, 1244 -744, 447, 891, 564, 1245 67, -451, 646, 604, 1246 -553, -429, -876, 396, 1247 162, -66, 1305, 915, 1248 479, 579, 1088, 794, 1249 450, 278, 566, 324, 1250 -1057, -154, 148, -177, 1251 -2545, 168, 1070, 592, 1252 -2351, -42, 819, 345, 1253 -2344, -707, 721, 250, 1254 -2175, -1497, -309, 122, 1255 -78, -73, 120, 173, 1256 -4, 262, -263, -261, 1257 -431, -64, -405, -732, 1258 -2609, 116, -83, -193, 1259 -1525, -944, -477, -725, 1260 -508, 307, 170, 172, 1261 832, 417, 832, 686, 1262 -225, 177, 894, 818, 1263 -482, -389, 1279, 1039, 1264 -383, 201, -350, 40, 1265 730, 635, 226, 526, 1266 503, 462, 338, 398, 1267 535, 714, 40, -282, 1268 1482, 1471, 1085, 731, 1269 1561, 1072, 909, 693, 1270 1419, 1282, 889, 879, 1271 1153, 728, 1186, 840, 1272 -226, 1130, 949, 689, 1273 -494, -986, -1556, -128, 1274 -568, -721, -713, -26, 1275 317, 524, 70, 135, 1276 -405, -865, -1766, -652, 1277 -174, -801, 885, 773, 1278 -153, -91, 1099, 751, 1279 -506, -1149, 853, 646, 1280 241, 782, 519, 539, 1281 1853, 1700, 1101, 684, 1282 -1249, -1486, -464, 188, 1283 -893, -1409, -1312, -341, 1284 -135, 438, -175, 18, 1285 1111, 976, 319, 208, 1286 -1430, -1768, 83, 458, 1287 -530, -1000, 307, 129, 1288 -840, -15, -29, -356, 1289 -911, -924, -1147, -242, 1290 -119, -528, 127, -133, 1291 -761, -765, 190, -83, 1292 -315, 895, 522, 231, 1293 -222, 102, -63, -428, 1294 316, 699, 379, 70, 1295 25, 716, 314, -108, 1296 507, 874, 566, 238, 1297 108, 941, 519, 195, 1298 425, -60, -427, 257, 1299 139, -103, -630, 446, 1300 334, 370, 412, 48, 1301 -172, -690, -283, 557, 1302 187, -286, 158, 483, 1303 140, 270, -344, -631, 1304 924, 579, -116, 132, 1305 142, 466, -68, -64, 1306 230, -145, -302, -542, 1307 -803, -912, 1018, 737, 1308 -773, 1015, 630, 297, 1309 -2596, 95, 445, 336, 1310 -2122, 491, 510, 191, 1311 -1253, 161, -2, -324, 1312 -1450, -633, -712, -105, 1313 -842, -254, -411, 100, 1314 -640, -290, 1010, 763, 1315 -650, 313, 1169, 730, 1316 140, 505, 1030, 766, 1317 772, 287, 1067, 823, 1318 495, 749, 305, 323, 1319 -164, 462, 78, 399, 1320 -342, -874, 69, 597, 1321 -16, 620, 621, 337, 1322 -138, -444, -265, 218, 1323 84, -450, 953, 666, 1324 -222, -803, 541, 604, 1325 -921, -1376, 244, 116, 1326 -841, -723, 630, 588, 1327 140, 663, 294, 368, 1328 935, 1046, 881, 759, 1329 1746, 1464, 916, 628, 1330 436, 963, 281, 1, 1331 -119, 74, 542, 213, 1332 1, -567, 301, 241, 1333 260, 435, 222, 396, 1334 936, 957, 1108, 703, 1335 510, 506, 808, 478, 1336 601, 694, 960, 620, 1337 972, 741, 980, 600, 1338 834, 717, 767, 684, 1339 643, 972, 935, 638, 1340 501, 661, 720, 851, 1341 -105, -632, -303, -117, 1342 -429, 130, 789, 442, 1343 -522, -188, 704, 373, 1344 -759, 42, 814, 523, 1345 -531, -1137, 373, 578, 1346 -682, -1203, -455, 285, 1347 -1163, -1577, -1098, 44, 1348 81, -82, 712, 363, 1349 477, 246, 954, 622, 1350 1604, 1622, 1277, 891, 1351 1409, 859, 924, 892, 1352 774, 1041, 947, 1142, 1353 40, -546, -75, 288, 1354 -616, -106, -697, -26, 1355 -169, -160, -891, -739, 1356 -279, -384, -1029, -350, 1357 1781, 1308, 1046, 816, 1358 1580, 1533, 1472, 1178, 1359 1505, 1076, 1216, 899, 1360 890, 904, 564, 654, 1361 920, 692, 1021, 856, 1362 -493, 132, 177, 505, 1363 71, 195, -28, 97, 1364 456, 351, -164, 88, 1365 439, 278, -40, 350, 1366 1395, 949, 234, -95, 1367 -805, -472, 38, -163, 1368 367, -98, 489, 523, 1369 1025, 1178, 1212, 906, 1370 319, 1314, 814, 461, 1371 -123, -543, -804, 447, 1372 -748, -324, -897, -1127, 1373 -737, -501, -789, -713, 1374 715, 777, 1239, 922, 1375 1949, 1939, 1368, 865, 1376 730, 880, 758, 388, 1377 -871, 454, 17, -251, 1378 -381, -810, -1583, 239, 1379 -521, -966, -792, 259, 1380 -890, -1358, -770, -73, 1381 166, 349, -212, 323, 1382 -840, -301, 473, 435, 1383 -679, -464, 728, 351, 1384 -156, -199, 667, 432, 1385 29, -252, 415, 480, 1386 -731, -379, 145, 559, 1387 -528, -631, -1158, -159, 1388 445, 273, 123, 639, 1389 373, -126, 800, 568, 1390 84, -162, 720, 712, 1391 -830, -536, -185, 222, 1392 408, 452, 501, 771, 1393 -897, -1355, -67, 442, 1394 -792, -1406, 566, 602, 1395 167, -326, 509, 330, 1396 -95, -626, -730, -344, 1397 1668, 1217, 779, 455, 1398 1316, 828, 584, 719, 1399 404, -31, 1013, 789, 1400 89, 107, 891, 549, 1401 871, 1581, 917, 671, 1402 866, 1479, 1289, 854, 1403 391, 1068, 1122, 812, 1404 78, -562, 345, 563, 1405 429, -103, 417, 787, 1406 -122, -437, 411, 788, 1407 -913, -417, 602, 754, 1408 -226, -16, 151, 760, 1409 -700, 118, -104, -14, 1410 -1128, 48, 284, 393, 1411 -390, -419, -639, -116, 1412 -910, 306, 316, -13, 1413 1207, 984, 821, 669, 1414 -1195, -693, 140, -213, 1415 -884, -416, -199, -558, 1416 -616, 245, -404, -664, 1417 262, 56, -617, -724, 1418 -85, -491, -320, -656, 1419 -570, -831, -129, -528, 1420 -1506, -63, -367, -385, 1421 -358, -321, 4, 51, 1422 -366, -214, 319, 511, 1423 146, 671, -17, -291, 1424 -110, 464, -139, -496, 1425 -202, 220, -312, -631, 1426 -660, -73, -655, -820, 1427 -662, -653, -1288, -857, 1428 -430, -953, -959, -264, 1429 -49, -468, -72, -381, 1430 -350, -563, -193, -407, 1431 55, -408, -803, 11, 1432 -309, 649, 188, -198, 1433 -512, 461, -79, -458, 1434 -1318, -263, -134, -523, 1435 -1657, -435, -495, -765, 1436 57, -347, -414, 434, 1437 -1141, -242, -664, -857, 1438 34, -68, -707, -338 1439 }; 1440 1441 1442 1443 /* third codebook for MR475, MR515 */ 1444 1445 const Word16 mr515_3_lsf[MR515_3_SIZE*4] = 1446 { 1447 419, 163, -30, -262, 1448 -455, -789, -1430, -721, 1449 1006, 664, 269, 25, 1450 619, 260, 183, 96, 1451 -968, -1358, -388, 135, 1452 -693, 835, 456, 154, 1453 1105, 703, 569, 363, 1454 1625, 1326, 985, 748, 1455 -220, 219, 76, -208, 1456 -1455, -1662, 49, 149, 1457 -964, -172, -752, -336, 1458 625, 209, -250, -66, 1459 -1017, -838, -2, 317, 1460 -2168, -1485, -138, 123, 1461 -1876, -2099, -521, 85, 1462 -967, -366, -695, -881, 1463 -921, -1011, -763, -949, 1464 -124, -256, -352, -660, 1465 178, 463, 354, 304, 1466 -1744, -591, -282, 79, 1467 -2249, 175, 867, 499, 1468 -138, -180, -181, -21, 1469 -2291, -1241, -460, -520, 1470 -771, 451, -10, -308, 1471 271, -65, 4, 214, 1472 -279, -435, -43, -348, 1473 -670, 35, -65, -211, 1474 806, 535, 85, 297, 1475 57, 239, 722, 493, 1476 225, 661, 840, 547, 1477 -540, -376, 14, 349, 1478 469, 721, 331, 162, 1479 -544, -752, -62, -10, 1480 398, -88, 724, 701, 1481 -19, -533, -94, 601, 1482 136, -71, -681, -747, 1483 -166, -344, 261, -50, 1484 161, -52, 485, 337, 1485 -1675, 50, 190, -93, 1486 -2282, -231, -194, -82, 1487 -95, -595, -154, 128, 1488 894, 501, 588, 457, 1489 -345, 206, 122, 110, 1490 -631, -227, -569, 3, 1491 408, 239, 397, 226, 1492 -197, -2, 128, 491, 1493 1281, 904, 292, 215, 1494 538, 306, 259, 509, 1495 -677, -1047, 13, 321, 1496 -679, -588, -358, -212, 1497 -558, 243, 646, 479, 1498 486, 342, 634, 532, 1499 107, 802, 331, 136, 1500 -112, -398, -1031, -286, 1501 -326, -705, 288, 272, 1502 1299, 1144, 1178, 860, 1503 -423, 121, -385, -148, 1504 -295, -302, -834, -819, 1505 16, -24, -201, -476, 1506 555, 91, -245, 294, 1507 -38, -379, -962, -1221, 1508 -1191, -1518, -273, -395, 1509 -390, -1013, -645, 573, 1510 -1843, -1030, 505, 468, 1511 744, 947, 609, 493, 1512 -689, -1172, -628, -135, 1513 -1026, 195, 411, 196, 1514 1582, 1147, 575, 337, 1515 -1239, -777, -648, -142, 1516 595, 825, 967, 735, 1517 -1206, -970, -81, -342, 1518 -745, 13, -72, 375, 1519 454, 19, 1407, 921, 1520 -1647, -172, 861, 562, 1521 928, 1537, 1063, 740, 1522 -2472, -952, 264, 82, 1523 -502, -965, -1334, 123, 1524 867, 1236, 534, 171, 1525 -2320, -460, 780, 363, 1526 -1190, -617, 252, -61, 1527 -174, 34, 1011, 788, 1528 -2333, 247, 423, 153, 1529 -16, -355, 262, 449, 1530 -1576, -1073, -544, -371, 1531 -615, -305, 1051, 805, 1532 687, 528, 6, -182, 1533 935, 875, 1002, 809, 1534 199, 257, 126, 76, 1535 -584, -1138, 599, 556, 1536 -1105, -1391, -1591, -519, 1537 -977, -1325, 108, 347, 1538 -722, -975, 365, 101, 1539 -145, 681, 249, -153, 1540 0, -334, -570, 159, 1541 412, 285, -336, -617, 1542 -953, -966, 887, 689, 1543 -1251, 84, -185, -398, 1544 -592, 433, 1044, 653, 1545 85, 329, -40, 361, 1546 -433, -705, 466, 574, 1547 -154, 654, 592, 290, 1548 -167, 72, 349, 175, 1549 674, 297, 977, 720, 1550 1235, 1204, 757, 488, 1551 -400, -269, 538, 372, 1552 -1350, -1387, -1194, -91, 1553 1262, 876, 775, 700, 1554 -599, -38, -430, -722, 1555 1976, 1630, 991, 608, 1556 111, 276, -226, -96, 1557 -947, -388, -11, -7, 1558 -303, -531, -839, 338, 1559 1734, 1710, 1405, 1013, 1560 -516, -855, -645, 210, 1561 -688, -416, 513, 230, 1562 -822, -637, -1146, -320, 1563 -952, -658, -694, 183, 1564 -114, -623, 818, 674, 1565 -191, -204, 731, 635, 1566 51, 1221, 883, 576, 1567 -954, -431, 826, 598, 1568 -342, -755, -900, -407, 1569 -1126, -354, -206, -512, 1570 -547, -810, -357, -620, 1571 66, 515, -73, -410, 1572 -872, -945, -1444, -1227, 1573 191, -17, -544, -231, 1574 -1540, -544, -901, -886 1575 }; 1576 1577 /* first codebook for MR795 */ 1578 1579 const Word16 mr795_1_lsf[MR795_1_SIZE*3] = 1580 { 1581 -890, -1550, -2541, 1582 -819, -970, 175, 1583 -826, -1234, -762, 1584 -599, -22, 634, 1585 -811, -987, -902, 1586 -323, 203, 26, 1587 -383, -235, -781, 1588 -399, 1262, 906, 1589 -932, -1399, -1380, 1590 -624, 93, 87, 1591 -414, -539, -691, 1592 37, 633, 510, 1593 -387, -476, -1330, 1594 399, 66, 263, 1595 -407, -49, -335, 1596 -417, 1041, 1865, 1597 -779, -1089, -1440, 1598 -746, -858, 832, 1599 -581, -759, -371, 1600 -673, -506, 2088, 1601 -560, -634, -1179, 1602 271, 241, 14, 1603 -438, -244, -397, 1604 463, 1202, 1047, 1605 -606, -797, -1438, 1606 -51, -323, 481, 1607 -224, -584, -527, 1608 494, 881, 682, 1609 -433, -306, -1002, 1610 554, 659, 222, 1611 171, -160, -353, 1612 681, 1798, 1565, 1613 -852, -1181, -1695, 1614 -336, -666, 114, 1615 -581, -756, -744, 1616 -195, 375, 497, 1617 -465, -804, -1098, 1618 154, 282, -131, 1619 -50, -191, -719, 1620 323, 732, 1542, 1621 -722, -819, -1404, 1622 105, -250, 185, 1623 -178, -502, -742, 1624 321, 510, 1111, 1625 -323, -567, -966, 1626 127, 484, 338, 1627 -160, 52, -338, 1628 732, 1367, 1554, 1629 -626, -802, -1696, 1630 -286, -586, 676, 1631 -695, -343, -370, 1632 -490, 295, 1893, 1633 -630, -574, -1014, 1634 -80, 645, -69, 1635 -6, -318, -364, 1636 782, 1450, 1038, 1637 -313, -733, -1395, 1638 120, 60, 477, 1639 -264, -585, -123, 1640 711, 1245, 633, 1641 -91, -355, -1016, 1642 771, 758, 261, 1643 253, 81, -474, 1644 930, 2215, 1720, 1645 -808, -1099, -1925, 1646 -560, -782, 169, 1647 -804, -1074, -188, 1648 -626, -55, 1405, 1649 -694, -716, -1194, 1650 -660, 354, 329, 1651 -514, -55, -543, 1652 366, 1033, 1182, 1653 -658, -959, -1357, 1654 -55, -184, 93, 1655 -605, -286, -662, 1656 404, 449, 827, 1657 -286, -350, -1263, 1658 628, 306, 227, 1659 -16, 147, -623, 1660 186, 923, 2146, 1661 -674, -890, -1606, 1662 -443, -228, 339, 1663 -369, -790, -409, 1664 231, 86, 1469, 1665 -448, -581, -1061, 1666 594, 450, -177, 1667 -124, -170, -447, 1668 671, 1159, 1404, 1669 -476, -667, -1511, 1670 -77, -138, 716, 1671 -177, -372, -381, 1672 451, 934, 915, 1673 -250, -432, -822, 1674 272, 828, 446, 1675 26, 19, -31, 1676 698, 1692, 2168, 1677 -646, -977, -1924, 1678 -179, -473, 268, 1679 -379, -745, -691, 1680 11, 127, 1033, 1681 -488, -917, -825, 1682 61, 323, 135, 1683 147, -145, -686, 1684 685, 786, 1682, 1685 -506, -848, -1297, 1686 35, 90, 222, 1687 -23, -346, -670, 1688 455, 591, 1287, 1689 -203, -593, -1086, 1690 652, 352, 437, 1691 39, 63, -457, 1692 841, 1265, 2105, 1693 -520, -882, -1584, 1694 -328, -711, 1421, 1695 -596, -342, -70, 1696 209, 173, 1928, 1697 -423, -598, -921, 1698 421, 605, -38, 1699 -2, -245, -127, 1700 896, 1969, 1135, 1701 -379, -518, -1579, 1702 173, 118, 753, 1703 -55, -381, -52, 1704 985, 1021, 753, 1705 -2, -291, -891, 1706 753, 992, 423, 1707 264, 131, -196, 1708 895, 2274, 2543, 1709 -635, -1088, -2499, 1710 -529, -982, 526, 1711 -764, -830, -548, 1712 -436, 316, 599, 1713 -675, -940, -746, 1714 -57, 236, -11, 1715 -201, -81, -798, 1716 16, 845, 1558, 1717 -737, -985, -1212, 1718 -468, 17, 290, 1719 -279, -584, -700, 1720 183, 822, 705, 1721 -265, -492, -1187, 1722 421, 152, 468, 1723 -390, 166, -268, 1724 39, 1550, 1868, 1725 -635, -966, -1571, 1726 -453, -492, 910, 1727 -284, -1027, -75, 1728 -181, -133, 1852, 1729 -445, -624, -1174, 1730 420, 367, -49, 1731 -389, -212, -169, 1732 707, 1073, 1208, 1733 -539, -710, -1449, 1734 83, -163, 484, 1735 -236, -543, -355, 1736 338, 1175, 814, 1737 -246, -309, -958, 1738 606, 760, 60, 1739 166, -8, -163, 1740 -306, 1849, 2563, 1741 -747, -1025, -1783, 1742 -419, -446, 209, 1743 -718, -566, -534, 1744 -506, 693, 857, 1745 -463, -697, -1082, 1746 325, 431, -206, 1747 -15, -8, -763, 1748 545, 919, 1518, 1749 -611, -783, -1313, 1750 256, -55, 208, 1751 -165, -348, -662, 1752 321, 680, 930, 1753 -326, -429, -951, 1754 484, 446, 570, 1755 -197, 72, -73, 1756 909, 1455, 1741, 1757 -563, -737, -1974, 1758 -124, -416, 718, 1759 -478, -404, -314, 1760 -16, 446, 1636, 1761 -551, -537, -750, 1762 -58, 638, 214, 1763 55, -185, -271, 1764 1148, 1301, 1212, 1765 -483, -671, -1264, 1766 117, 285, 543, 1767 -204, -391, -111, 1768 513, 1538, 854, 1769 -114, -190, -978, 1770 877, 595, 464, 1771 260, 260, -311, 1772 748, 2283, 2216, 1773 -517, -945, -2171, 1774 -326, -708, 378, 1775 -812, -691, -232, 1776 -560, 687, 1409, 1777 -732, -690, -836, 1778 -359, 645, 386, 1779 -265, 62, -678, 1780 145, 1644, 1208, 1781 -555, -988, -1233, 1782 -78, 14, 114, 1783 -327, -358, -489, 1784 392, 677, 697, 1785 -201, -236, -1140, 1786 693, 449, 178, 1787 -243, 256, -433, 1788 611, 1385, 2456, 1789 -612, -901, -1464, 1790 -307, -17, 499, 1791 -315, -667, -254, 1792 256, 428, 1463, 1793 -486, -422, -1056, 1794 655, 370, 18, 1795 -102, -185, -276, 1796 755, 1578, 1335, 1797 -488, -603, -1418, 1798 182, -93, 870, 1799 -73, -458, -348, 1800 835, 862, 957, 1801 -282, -333, -746, 1802 547, 839, 428, 1803 273, -89, 13, 1804 940, 1708, 2576, 1805 -418, -1084, -1758, 1806 -44, -358, 259, 1807 -497, -643, -560, 1808 99, 557, 961, 1809 -421, -766, -917, 1810 295, 326, 184, 1811 175, 15, -626, 1812 532, 878, 1981, 1813 -443, -768, -1275, 1814 221, 156, 268, 1815 39, -363, -505, 1816 695, 772, 1140, 1817 -162, -459, -912, 1818 709, 444, 658, 1819 25, 303, -312, 1820 1268, 1410, 1715, 1821 -297, -766, -1836, 1822 -263, -108, 1070, 1823 -406, -13, -129, 1824 57, 438, 2734, 1825 -374, -487, -835, 1826 304, 696, 164, 1827 104, -235, 5, 1828 1611, 1900, 1399, 1829 -229, -582, -1325, 1830 405, 192, 817, 1831 -87, -438, 111, 1832 1028, 1199, 993, 1833 68, -175, -934, 1834 1033, 1117, 451, 1835 478, 200, -248, 1836 2127, 2696, 2042, 1837 -835, -1323, -2131, 1838 -799, -692, 466, 1839 -812, -1032, -469, 1840 -622, 288, 920, 1841 -701, -841, -1070, 1842 -411, 512, 8, 1843 -390, -91, -744, 1844 -30, 1043, 1161, 1845 -822, -1148, -1156, 1846 -294, -46, 110, 1847 -411, -374, -678, 1848 214, 531, 668, 1849 -406, -420, -1194, 1850 487, 232, 303, 1851 -318, 91, -472, 1852 123, 1232, 2445, 1853 -722, -952, -1495, 1854 -738, -675, 1332, 1855 -543, -606, -211, 1856 -95, -98, 1508, 1857 -549, -514, -1193, 1858 473, 211, 73, 1859 -288, -112, -389, 1860 537, 1332, 1258, 1861 -567, -755, -1545, 1862 71, -283, 632, 1863 -170, -481, -493, 1864 681, 1002, 817, 1865 -356, -331, -877, 1866 419, 706, 346, 1867 241, -34, -326, 1868 377, 1950, 1883, 1869 -727, -1075, -1625, 1870 -233, -543, 116, 1871 -524, -806, -585, 1872 -73, 478, 729, 1873 -288, -925, -1143, 1874 173, 447, -52, 1875 68, -229, -606, 1876 449, 529, 1797, 1877 -591, -875, -1363, 1878 183, -144, 324, 1879 -103, -452, -666, 1880 623, 488, 1176, 1881 -238, -511, -1004, 1882 326, 552, 458, 1883 136, 108, -319, 1884 626, 1343, 1883, 1885 -490, -646, -1730, 1886 -186, -449, 984, 1887 -738, -76, -170, 1888 -550, 755, 2560, 1889 -496, -510, -947, 1890 210, 694, -52, 1891 84, -322, -199, 1892 1090, 1625, 1224, 1893 -376, -603, -1396, 1894 343, 74, 632, 1895 -175, -502, -32, 1896 972, 1332, 734, 1897 52, -295, -1113, 1898 1065, 918, 160, 1899 393, 107, -397, 1900 1214, 2649, 1741, 1901 -632, -1201, -1891, 1902 -719, -277, 353, 1903 -651, -880, -122, 1904 -211, 209, 1338, 1905 -562, -714, -1059, 1906 -208, 388, 159, 1907 -320, -61, -551, 1908 293, 1092, 1443, 1909 -648, -865, -1253, 1910 -49, -143, 305, 1911 -401, -227, -585, 1912 561, 532, 927, 1913 -117, -443, -1188, 1914 507, 436, 292, 1915 -79, 233, -458, 1916 671, 1025, 2396, 1917 -633, -842, -1525, 1918 -308, -286, 640, 1919 -373, -621, -407, 1920 418, 253, 1305, 1921 -315, -581, -1137, 1922 572, 685, -281, 1923 61, -68, -371, 1924 991, 1101, 1498, 1925 -493, -683, -1362, 1926 -47, 164, 704, 1927 -256, -314, -268, 1928 631, 949, 1052, 1929 -118, -348, -833, 1930 68, 1180, 568, 1931 152, 117, 34, 1932 1113, 1902, 2239, 1933 -601, -959, -1706, 1934 -143, -489, 480, 1935 -332, -655, -574, 1936 54, 353, 1192, 1937 -462, -652, -796, 1938 150, 549, 112, 1939 195, -111, -515, 1940 679, 1108, 1647, 1941 -558, -749, -1217, 1942 -9, 272, 341, 1943 -53, -265, -535, 1944 489, 843, 1298, 1945 -120, -482, -1032, 1946 632, 543, 408, 1947 179, 306, -526, 1948 1124, 1464, 2244, 1949 -417, -786, -1562, 1950 -224, -384, 1364, 1951 -377, -459, -25, 1952 385, 489, 2174, 1953 -332, -651, -829, 1954 544, 553, 61, 1955 22, -113, -89, 1956 1128, 1725, 1524, 1957 -216, -373, -1653, 1958 161, 316, 908, 1959 -165, -222, -67, 1960 1362, 1175, 789, 1961 73, -252, -767, 1962 738, 932, 616, 1963 362, 246, -126, 1964 787, 2654, 3027, 1965 -691, -1106, -2190, 1966 -565, -588, 524, 1967 -590, -979, -490, 1968 -263, 397, 982, 1969 -577, -837, -945, 1970 -22, 435, -49, 1971 -190, -118, -629, 1972 -88, 1240, 1513, 1973 -636, -1051, -1019, 1974 -291, 189, 259, 1975 -257, -470, -629, 1976 145, 945, 894, 1977 -326, -364, -1094, 1978 543, 260, 630, 1979 -202, 189, -209, 1980 357, 1379, 2091, 1981 -569, -1075, -1449, 1982 -714, -239, 919, 1983 -420, -705, -84, 1984 -109, -114, 2407, 1985 -413, -529, -1177, 1986 482, 368, 131, 1987 -186, -72, -131, 1988 861, 1255, 1220, 1989 -611, -658, -1341, 1990 227, -121, 631, 1991 -176, -489, -218, 1992 745, 1175, 957, 1993 -321, -148, -936, 1994 671, 966, 216, 1995 340, -3, -143, 1996 469, 1848, 2437, 1997 -729, -961, -1683, 1998 -213, -254, 321, 1999 -511, -438, -521, 2000 -126, 725, 903, 2001 -340, -685, -1032, 2002 316, 480, 20, 2003 23, -89, -551, 2004 353, 1051, 1789, 2005 -544, -757, -1364, 2006 298, -25, 436, 2007 -100, -392, -519, 2008 467, 754, 1078, 2009 -210, -398, -1078, 2010 620, 658, 630, 2011 33, 147, -178, 2012 921, 1687, 1921, 2013 -325, -528, -1978, 2014 2, -285, 910, 2015 -371, -490, -230, 2016 0, 597, 2010, 2017 -496, -395, -834, 2018 37, 945, 245, 2019 181, -160, -144, 2020 1481, 1373, 1357, 2021 -355, -601, -1270, 2022 298, 322, 672, 2023 -193, -336, 77, 2024 1089, 1533, 922, 2025 177, -39, -1125, 2026 996, 781, 536, 2027 456, 366, -432, 2028 1415, 2440, 2279, 2029 -466, -758, -2325, 2030 -303, -509, 387, 2031 -727, -557, 66, 2032 -145, 643, 1248, 2033 -544, -676, -916, 2034 -225, 862, 588, 2035 -152, 40, -533, 2036 423, 1423, 1558, 2037 -572, -843, -1145, 2038 -128, 85, 461, 2039 -238, -257, -584, 2040 605, 748, 861, 2041 24, -202, -1409, 2042 797, 487, 303, 2043 -181, 364, -182, 2044 616, 1378, 2942, 2045 -494, -852, -1441, 2046 -292, 61, 812, 2047 -84, -723, -182, 2048 555, 532, 1506, 2049 -365, -493, -1057, 2050 822, 588, 11, 2051 -14, -18, -230, 2052 1001, 1401, 1451, 2053 -474, -569, -1292, 2054 302, 62, 1062, 2055 -70, -376, -222, 2056 982, 974, 1149, 2057 -196, -234, -795, 2058 479, 1098, 499, 2059 362, 58, 70, 2060 1147, 2069, 2857, 2061 -487, -878, -1824, 2062 73, -288, 348, 2063 -358, -500, -508, 2064 199, 721, 1242, 2065 -78, -697, -795, 2066 361, 536, 196, 2067 374, 110, -735, 2068 847, 1051, 1896, 2069 -366, -713, -1182, 2070 315, 320, 429, 2071 72, -215, -450, 2072 759, 886, 1363, 2073 -30, -428, -834, 2074 861, 627, 796, 2075 118, 468, -279, 2076 1355, 1883, 1893, 2077 -188, -642, -1612, 2078 63, -175, 1198, 2079 -418, -211, 51, 2080 414, 587, 2601, 2081 -234, -557, -858, 2082 424, 889, 222, 2083 136, -101, 83, 2084 1413, 2278, 1383, 2085 -84, -445, -1389, 2086 414, 313, 1045, 2087 29, -343, 65, 2088 1552, 1647, 980, 2089 183, -91, -829, 2090 1273, 1413, 360, 2091 553, 272, -107, 2092 1587, 3149, 2603 2093 }; 2094 2095 2096 2097