annotate ra144.c @ 11865:6111134a3d94 libavcodec

Split ra144.c in common code (to be shared with the future encoder) and decoder. Patch by Francesco Lavra (firstnamelastname@interfree.it)
author vitor
date Fri, 11 Jun 2010 08:01:51 +0000
parents ra144.h@bc904d7e5551
children 0d8f35836b20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1 /*
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
2 * Real Audio 1.0 (14.4K)
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
3 * Copyright (c) 2003 the ffmpeg project
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
4 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
5 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
6 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
11 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
15 * Lesser General Public License for more details.
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
16 *
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
3036
0b546eab515d Update licensing information: The FSF changed postal address.
diego
parents: 2967
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
20 */
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
21
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
22 #include <stdint.h>
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
23 #include "avcodec.h"
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
24 #include "ra144.h"
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
25
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
26 const int16_t gain_val_tab[256][3] = {
7834
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
27 { 541, 956, 768}, { 877, 581, 568}, { 675,1574, 635}, {1248,1464, 668},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
28 {1246, 839, 1394}, {2560,1386, 991}, { 925, 687, 608}, {2208, 797, 1144},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
29 { 535, 832, 799}, { 762, 605, 1154}, { 832,1122, 1003}, {1180, 687, 1176},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
30 {1292, 901, 732}, {1656, 689, 896}, {1750,1248, 848}, {2284, 942, 1022},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
31 { 824,1472, 643}, { 517, 765, 512}, { 562,1816, 1522}, { 694,1826, 2700},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
32 { 704, 524, 672}, {1442, 757, 2232}, { 884, 551, 1266}, {2232,1007, 1692},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
33 { 932, 746, 777}, {1132, 822, 926}, {1226, 771, 611}, {2948,1342, 1008},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
34 {1302, 594, 1158}, {1602, 636, 1128}, {3408, 910, 1438}, {1996, 614, 575},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
35 { 665, 935, 628}, { 631,1192, 829}, { 644, 926, 1052}, { 879, 988, 1226},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
36 { 941,2768, 2772}, { 565,1344, 2304}, { 547, 628, 740}, { 639, 532, 1074},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
37 { 955,1208, 598}, {1124,1160, 900}, {1206, 899, 1242}, { 746, 533, 624},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
38 {1458,1028, 735}, {1706,1102, 692}, {1898,1018, 1004}, {2176, 988, 735},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
39 {1578, 782, 1642}, { 897, 516, 754}, {2068, 702, 1656}, {2344, 818, 1526},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
40 { 907, 652, 592}, {1056, 652, 642}, {2124,1416, 780}, {2664,1250, 727},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
41 {1894, 727, 1108}, {2196, 657, 981}, {4840, 920, 1704}, {4992,1238, 983},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
42 {2420, 909, 1094}, {2760, 935, 1032}, {2800, 612, 853}, {3068, 832, 574},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
43 { 523,1796, 923}, { 722,1916, 1382}, {1226,1542, 928}, { 758, 757, 584},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
44 { 512,1134, 577}, { 615,1276, 698}, { 574,2568, 2356}, { 993,2728, 3512},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
45 { 539, 890, 913}, { 694, 928, 1088}, { 805, 600, 1360}, {2160, 951, 3128},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
46 { 816, 950, 590}, { 955, 847, 811}, {1094, 883, 556}, {1304, 888, 604},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
47 { 863,1170, 855}, {1023, 997, 1032}, { 932,1228, 1280}, { 627, 564, 573},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
48 { 876, 900, 1448}, {1030, 857, 1792}, {1294, 953, 1758}, {1612, 854, 1714},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
49 {1090,1166, 631}, {1314,1202, 751}, {1480, 905, 795}, {1682,1016, 568},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
50 {1494,1178, 983}, { 878, 613, 526}, {1728,1446, 779}, {2136,1348, 774},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
51 { 950, 649, 939}, {1180, 703, 899}, {1236, 527, 1158}, {1450, 647, 972},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
52 {1282, 647, 707}, {1460, 663, 644}, {1614, 572, 578}, {3516,1222, 821},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
53 {2668, 729, 1682}, {3128, 585, 1502}, {3208, 733, 976}, {6800, 871, 1416},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
54 {3480, 743, 1408}, {3764, 899, 1170}, {3772, 632, 875}, {4092, 732, 638},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
55 {3112, 753, 2620}, {3372, 945, 1890}, {3768, 969, 2288}, {2016, 559, 854},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
56 {1736, 729, 787}, {1940, 686, 547}, {2140, 635, 674}, {4480,1272, 828},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
57 {3976, 592, 1666}, {4384, 621, 1388}, {4400, 801, 955}, {4656, 522, 646},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
58 {4848, 625, 1636}, {4984, 591, 874}, {5352, 535, 1001}, {11216,938, 1184},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
59 { 925,3280, 1476}, { 735,1580, 1088}, {1150,1576, 674}, { 655, 783, 528},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
60 { 527,2052, 1354}, { 782,1704, 1880}, { 578, 910, 1026}, { 692, 882, 1468},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
61 { 586, 683, 715}, { 739, 609, 717}, { 778, 773, 697}, { 922, 785, 813},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
62 { 766, 651, 984}, { 978, 596, 1030}, {1070, 757, 1080}, {1324, 687, 1178},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
63 {1108,2144, 979}, { 723, 982, 690}, { 936, 956, 527}, {1180,1002, 547},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
64 { 517,1306, 825}, { 832,1184, 974}, {1024, 957, 903}, {1262,1090, 906},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
65 {1028, 720, 649}, {1192, 679, 694}, {2468,1480, 979}, {2844,1370, 877},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
66 {1310, 835, 848}, {1508, 839, 698}, {1742,1030, 769}, {1910, 852, 573},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
67 {1280, 859, 1174}, {1584, 863, 1108}, {1686, 708, 1364}, {1942, 768, 1104},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
68 { 891, 536, 690}, {1016, 560, 663}, {2172, 870, 1348}, {2404, 999, 1170},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
69 {1890, 966, 889}, {2116, 912, 777}, {2296,1020, 714}, {4872,1844, 932},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
70 {2392, 778, 929}, {2604, 772, 744}, {2764, 957, 722}, {5832,1532, 984},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
71 {2188, 519, 1264}, {2332, 532, 922}, {5064, 995, 2412}, {2708, 571, 874},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
72 {2408, 545, 666}, {5016,1084, 875}, {5376, 983, 1196}, {5536, 979, 730},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
73 {5344, 634, 1744}, {5688, 706, 1348}, {5912, 977, 1190}, {6072, 905, 763},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
74 {6048, 582, 1526}, {11968,1013,1816}, {12864,937, 1900}, {12560,1086, 998},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
75 {1998, 684, 1884}, {2504, 633, 1992}, {1252, 567, 835}, {1478, 571, 973},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
76 {2620, 769, 1414}, {2808, 952, 1142}, {2908, 712, 1028}, {2976, 686, 741},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
77 {1462, 552, 714}, {3296, 991, 1452}, {1590, 615, 544}, {3480,1150, 824},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
78 {3212, 832, 923}, {3276, 839, 531}, {3548, 786, 852}, {3732, 764, 570},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
79 {5728, 906, 2616}, {6272, 804, 2252}, {3096, 535, 876}, {3228, 598, 649},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
80 {6536, 759, 1436}, {6648, 993, 846}, {6864, 567, 1210},{14016,1012, 1302},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
81 {3408, 548, 1098}, {7160,1008, 1742}, {7136,1000, 1182}, {7480,1032, 836},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
82 {7448, 612, 1552}, {7744, 614, 816}, {8384, 777, 1438}, {8784, 694, 786},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
83 { 882,1508, 1068}, { 597, 837, 766}, {1270, 954, 1408}, { 803, 550, 798},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
84 {1398,1308, 798}, {1848,1534, 738}, { 970, 675, 608}, {1264, 706, 684},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
85 {1716, 767, 1126}, {2108, 765, 1404}, {2236, 924, 1003}, {2472,1048, 611},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
86 { 999, 942, 963}, {1094, 857, 935}, {2936, 926, 1138}, {1934, 746, 551},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
87 {3336, 633, 1762}, {3764, 701, 1454}, {1890, 564, 636}, {4096,1126, 793},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
88 {3936, 556, 1140}, {3936, 540, 740}, {4216, 764, 874}, {8480,1328, 1014},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
89 {2184, 515, 1042}, {4432, 934, 1344}, {4784, 945, 1112}, {5016,1062, 733},
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
90 {9216,1020, 2028}, {9968, 924, 1188}, {5424, 909, 1206}, {6512, 744, 1086}
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
91 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
92
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
93 const uint8_t gain_exp_tab[256] = {
7834
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
94 15, 15, 15, 15, 15, 16, 14, 15, 14, 14, 14, 14, 14, 14, 14, 14,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
95 14, 13, 14, 14, 13, 14, 13, 14, 13, 13, 13, 14, 13, 13, 14, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
96 13, 13, 13, 13, 14, 13, 12, 12, 13, 13, 13, 12, 13, 13, 13, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
97 13, 12, 13, 13, 12, 12, 13, 13, 13, 13, 14, 14, 13, 13, 13, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
98 13, 13, 13, 12, 12, 12, 13, 13, 12, 12, 12, 13, 12, 12, 12, 12,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
99 12, 12, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 11, 12, 12,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
100 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 13, 13, 13, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
101 13, 13, 13, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
102 13, 12, 12, 11, 12, 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
103 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 11, 11, 11, 11,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
104 12, 12, 12, 12, 11, 11, 12, 12, 12, 12, 12, 13, 12, 12, 12, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
105 12, 12, 13, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
106 12, 12, 11, 11, 12, 12, 12, 12, 11, 12, 11, 12, 12, 12, 12, 12,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
107 13, 13, 12, 12, 13, 13, 13, 14, 12, 13, 13, 13, 13, 13, 13, 13,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
108 11, 10, 11, 10, 11, 11, 10, 10, 11, 11, 11, 11, 10, 9, 11, 10,
b9a26c7e64ef Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor
parents: 7760
diff changeset
109 12, 12, 11, 12, 12, 12, 12, 13, 11, 12, 12, 12, 13, 13, 12, 12
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
110 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
111
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
112 const int8_t cb1_vects[128][40]={
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
113 {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
114 38, -4, 15, -4, 14, -13, 12, -11, -2, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
115 -6, -11, -45, -16, -11, -13, -7, 6, -12, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
116 -20, 3, -16, 12, -1, 12, 46, 24, 0, 33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
117 -3, 9, -12, -12, -8, -7, 17, -6, 0, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
118 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
119 60, -16, 3, -22, 10, -32, 0, -28, -17, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
120 -3, -25, -37, -23, -10, 3, 2, 3, 0, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
121 -14, 0, -14, -1, 0, 2, 32, 9, -1, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
122 7, 13, -5, 13, 8, 1, 2, 8, -10, 6,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
123 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
124 27, -12, 28, -2, 6, -7, 15, 9, -11, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
125 -13, -11, -40, 4, -29, -14, -19, -5, -23, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
126 -30, -13, -17, 0, -14, 12, 34, 20, -2, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
127 2, -16, -4, -12, 15, 16, 29, 7, 24, 10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
128 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
129 49, -24, 16, -20, 2, -26, 2, -7, -25, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
130 -11, -25, -32, -3, -27, 2, -8, -8, -11, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
131 -24, -17, -16, -14, -13, 2, 20, 5, -4, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
132 14, -12, 3, 13, 33, 25, 14, 23, 15, 19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
133 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
134 46, -6, 21, 8, -2, -16, -5, -8, -11, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
135 8, 15, -24, 4, -2, -26, -3, -16, -16, -14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
136 -9, -2, -1, 4, 19, 7, 36, 17, 9, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
137 0, 31, -5, -12, 7, -8, 11, -15, -13, -4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
138 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
139 68, -18, 9, -9, -6, -35, -18, -25, -26, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
140 10, 1, -16, -3, -1, -9, 6, -19, -4, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
141 -4, -6, 0, -8, 20, -2, 23, 2, 7, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
142 12, 35, 1, 13, 24, 0, -3, 0, -22, 4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
143 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
144 35, -14, 34, 10, -10, -10, -1, 12, -20, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
145 0, 15, -18, 24, -20, -27, -14, -28, -27, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
146 -20, -19, -2, -8, 5, 7, 25, 13, 5, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
147 6, 5, 2, -12, 31, 15, 23, -1, 12, 8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
148 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
149 57, -26, 22, -7, -14, -28, -14, -3, -35, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
150 3, 1, -11, 16, -18, -10, -4, -31, -15, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
151 -14, -23, -1, -21, 7, -2, 11, -1, 3, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
152 18, 9, 10, 13, 49, 24, 8, 14, 2, 16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
153 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
154 25, 15, 22, 11, 18, 4, 15, -22, 8, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
155 -17, -9, -48, -20, -30, -17, -16, 11, -1, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
156 2, 10, -5, 26, -2, -4, 22, 0, 2, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
157 -6, 13, -14, 10, -23, 0, 10, -2, 1, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
158 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
159 47, 3, 11, -6, 15, -13, 2, -38, -6, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
160 -15, -22, -40, -28, -28, 0, -5, 8, 10, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
161 7, 7, -4, 13, -1, -14, 9, -14, 0, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
162 4, 18, -7, 36, -6, 8, -3, 13, -7, 8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
163 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
164 14, 7, 36, 13, 10, 10, 18, 0, 0, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
165 -25, -8, -43, 0, -48, -18, -27, 0, -12, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
166 -7, -6, -7, 13, -15, -5, 11, -3, 0, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
167 0, -12, -6, 10, 0, 23, 22, 11, 26, 12,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
168 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
169 36, -5, 24, -4, 7, -7, 6, -17, -14, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
170 -22, -22, -35, -8, -46, -1, -17, -3, 0, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
171 -2, -10, -5, 0, -14, -15, -2, -18, -2, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
172 11, -7, 1, 36, 18, 32, 7, 27, 17, 20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
173 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
174 33, 13, 29, 24, 1, 1, -2, -18, 0, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
175 -3, 17, -27, 0, -21, -30, -12, -11, -5, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
176 12, 4, 9, 19, 18, -9, 13, -6, 11, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
177 -2, 35, -8, 10, -7, -1, 4, -11, -10, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
178 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
179 55, 1, 17, 6, -1, -16, -15, -35, -15, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
180 0, 4, -19, -8, -20, -13, -1, -14, 7, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
181 18, 0, 10, 5, 19, -19, 0, -21, 8, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
182 9, 39, 0, 36, 10, 7, -9, 4, -20, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
183 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
184 22, 5, 42, 26, -6, 8, 1, 2, -9, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
185 -10, 18, -21, 19, -39, -31, -23, -23, -16, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
186 2, -12, 7, 6, 5, -9, 1, -10, 7, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
187 4, 9, 0, 10, 17, 22, 16, 2, 14, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
188 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
189 44, -6, 30, 8, -9, -10, -11, -14, -23, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
190 -8, 4, -14, 12, -37, -14, -12, -26, -4, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
191 8, -16, 9, -7, 6, -19, -12, -25, 5, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
192 15, 13, 8, 36, 34, 31, 1, 18, 4, 18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
193 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
194 -3, -5, -9, -7, 15, -1, 5, 13, 2, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
195 5, 2, -21, -23, -2, -16, 0, 5, -6, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
196 -23, 3, -32, 10, -15, 8, 44, 28, 9, 37,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
197 -2, 13, -9, -15, -12, -27, -7, -12, 0, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
198 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
199 18, -17, -21, -25, 11, -19, -6, -3, -11, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
200 7, -11, -13, -31, -1, 0, 9, 1, 5, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
201 -18, 0, -31, -2, -13, -1, 30, 14, 7, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
202 9, 18, -1, 10, 4, -18, -22, 3, -10, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
203 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
204 -13, -13, 3, -5, 7, 4, 9, 34, -5, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
205 -2, 3, -16, -3, -20, -17, -11, -7, -17, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
206 -34, -13, -33, -2, -28, 8, 32, 24, 5, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
207 3, -12, 0, -15, 11, -3, 3, 2, 24, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
208 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
209 8, -25, -8, -23, 3, -13, -3, 17, -20, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
210 0, -10, -8, -11, -18, 0, -1, -10, -5, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
211 -28, -17, -32, -15, -26, -1, 19, 9, 3, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
212 15, -7, 6, 9, 29, 5, -10, 17, 15, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
213 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
214 4, -6, -3, 5, -1, -4, -11, 16, -6, 23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
215 19, 29, 0, -3, 6, -30, 3, -17, -10, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
216 -13, -2, -17, 3, 5, 3, 35, 21, 17, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
217 2, 35, -2, -15, 3, -28, -13, -21, -13, -13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
218 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
219 26, -19, -15, -12, -5, -22, -24, 0, -21, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
220 21, 15, 8, -11, 7, -12, 14, -20, 2, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
221 -7, -6, -16, -9, 6, -5, 21, 7, 15, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
222 13, 39, 5, 10, 20, -19, -28, -5, -22, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
223 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
224 -5, -15, 9, 7, -9, 2, -8, 37, -14, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
225 11, 29, 5, 16, -11, -30, -7, -29, -21, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
226 -23, -19, -18, -9, -7, 3, 23, 17, 14, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
227 8, 9, 6, -15, 27, -4, -2, -6, 12, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
228 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
229 16, -27, -2, -10, -13, -16, -20, 20, -29, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
230 14, 16, 13, 8, -9, -13, 2, -33, -9, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
231 -17, -23, -17, -22, -6, -6, 9, 2, 12, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
232 20, 13, 13, 10, 45, 4, -16, 8, 2, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
233 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
234 -16, 14, -2, 8, 20, 17, 9, 2, 14, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
235 -6, 5, -24, -28, -21, -20, -8, 9, 4, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
236 -1, 11, -22, 24, -15, -8, 21, 5, 11, 14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
237 -5, 18, -11, 7, -27, -20, -14, -7, 1, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
238 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
239 6, 2, -14, -9, 16, -1, -3, -14, 0, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
240 -3, -8, -16, -36, -19, -3, 1, 6, 17, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
241 4, 7, -21, 11, -14, -18, 7, -9, 9, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
242 6, 22, -3, 33, -10, -11, -28, 7, -7, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
243 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
244 -26, 6, 11, 10, 12, 23, 12, 23, 5, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
245 -13, 5, -19, -8, -38, -21, -20, -2, -6, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
246 -11, -5, -23, 11, -29, -9, 9, 0, 7, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
247 1, -7, -2, 7, -3, 3, -2, 6, 27, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
248 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
249 -4, -6, 0, -7, 8, 4, 0, 6, -9, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
250 -11, -7, -11, -15, -37, -4, -9, -5, 5, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
251 -5, -9, -22, -1, -27, -18, -4, -14, 5, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
252 12, -3, 4, 32, 14, 12, -17, 22, 17, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
253 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
254 -8, 12, 3, 21, 3, 14, -8, 5, 4, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
255 7, 32, -2, -8, -12, -34, -4, -12, 1, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
256 9, 4, -7, 17, 4, -13, 11, -1, 19, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
257 0, 39, -4, 7, -11, -21, -20, -16, -10, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
258 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
259 13, 0, -8, 3, 0, -4, -21, -11, -9, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
260 10, 18, 5, -16, -10, -16, 5, -15, 13, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
261 15, 1, -6, 4, 6, -23, -2, -16, 17, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
262 10, 44, 3, 33, 6, -12, -34, -1, -20, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
263 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
264 -18, 4, 17, 23, -4, 20, -4, 26, -3, 36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
265 0, 32, 2, 12, -29, -34, -16, -24, -10, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
266 0, -12, -8, 4, -8, -13, 0, -6, 16, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
267 5, 13, 3, 7, 13, 3, -8, -2, 14, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
268 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
269 3, -7, 5, 5, -8, 2, -17, 9, -18, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
270 2, 19, 10, 4, -28, -17, -5, -28, 2, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
271 4, -15, -7, -8, -6, -23, -13, -21, 14, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
272 17, 18, 11, 33, 30, 11, -23, 13, 5, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
273 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
274 60, 10, 7, -1, 9, -8, 6, -13, 2, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
275 -1, -10, -13, -11, 15, 0, 6, 9, -1, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
276 -13, 1, -11, -3, -13, 21, 13, 26, -7, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
277 -10, -7, -16, -33, -31, -10, 22, -8, 1, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
278 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
279 82, -1, -4, -19, 6, -27, -6, -29, -12, -26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
280 1, -24, -5, -18, 17, 17, 17, 6, 10, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
281 -7, -2, -9, -16, -12, 11, 0, 11, -9, 23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
282 0, -3, -8, -8, -13, -1, 8, 7, -7, 6,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
283 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
284 49, 2, 21, 0, 1, -2, 9, 8, -6, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
285 -8, -10, -8, 9, -2, 0, -4, -2, -13, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
286 -23, -15, -12, -16, -26, 21, 2, 21, -11, 23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
287 -4, -33, -7, -33, -6, 13, 34, 5, 27, 10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
288 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
289 71, -10, 9, -17, -1, -20, -3, -8, -21, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
290 -6, -24, 0, 1, 0, 16, 6, -5, 0, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
291 -17, -19, -11, -29, -25, 11, -11, 6, -13, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
292 7, -29, 0, -8, 11, 22, 20, 21, 17, 18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
293 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
294 67, 8, 14, 11, -7, -11, -11, -9, -7, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
295 13, 16, 8, 9, 24, -12, 10, -13, -5, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
296 -2, -4, 3, -10, 6, 17, 4, 19, 0, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
297 -6, 13, -9, -33, -14, -10, 16, -17, -10, -4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
298 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
299 90, -3, 2, -6, -10, -29, -24, -26, -21, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
300 15, 2, 16, 1, 25, 4, 21, -16, 6, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
301 3, -8, 5, -24, 8, 7, -9, 4, -1, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
302 5, 18, -1, -7, 2, -1, 2, -1, -19, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
303 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
304 57, 0, 27, 13, -14, -5, -7, 11, -15, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
305 5, 16, 13, 29, 6, -13, 0, -25, -16, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
306 -12, -22, 2, -23, -6, 16, -7, 14, -2, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
307 0, -12, 0, -33, 9, 13, 28, -3, 14, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
308 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
309 79, -11, 15, -4, -18, -23, -20, -5, -30, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
310 7, 2, 21, 21, 8, 3, 10, -28, -4, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
311 -6, -25, 3, -37, -4, 7, -20, 0, -4, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
312 11, -7, 6, -8, 27, 22, 14, 12, 5, 16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
313 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
314 47, 30, 15, 14, 14, 9, 9, -23, 13, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
315 -12, -7, -16, -15, -3, -3, -1, 14, 9, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
316 9, 8, 0, 10, -14, 4, -9, 2, -5, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
317 -13, -3, -18, -10, -45, -3, 16, -4, 4, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
318 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
319 69, 17, 3, -3, 10, -8, -3, -40, -1, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
320 -10, -21, -8, -23, -1, 13, 8, 11, 21, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
321 15, 4, 0, -2, -13, -5, -23, -12, -7, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
322 -1, 0, -10, 14, -28, 5, 1, 11, -5, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
323 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
324 36, 21, 28, 16, 6, 16, 12, -2, 4, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
325 -20, -7, -11, 4, -20, -4, -12, 2, -1, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
326 0, -8, -2, -2, -27, 4, -21, -2, -9, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
327 -6, -29, -9, -10, -21, 21, 28, 10, 29, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
328 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
329 58, 9, 16, -1, 2, -2, 0, -19, -10, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
330 -17, -21, -3, -3, -19, 12, -2, 0, 10, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
331 5, -12, 0, -15, -26, -5, -34, -16, -11, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
332 4, -25, -2, 14, -3, 29, 13, 25, 20, 20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
333 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
334 55, 28, 21, 27, -2, 7, -8, -20, 4, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
335 1, 18, 5, 4, 5, -16, 2, -8, 5, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
336 19, 2, 14, 3, 6, 0, -18, -4, 2, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
337 -8, 18, -11, -10, -29, -3, 10, -13, -8, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
338 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
339 77, 16, 9, 9, -6, -11, -21, -37, -10, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
340 4, 5, 13, -3, 7, 0, 13, -11, 17, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
341 25, -1, 15, -9, 7, -9, -32, -19, 0, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
342 2, 22, -3, 15, -12, 5, -4, 2, -17, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
343 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
344 44, 20, 34, 29, -10, 13, -4, 0, -4, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
345 -5, 19, 10, 24, -11, -17, -8, -20, -5, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
346 9, -14, 12, -9, -6, 0, -30, -9, 0, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
347 -2, -7, -2, -10, -5, 20, 21, 1, 17, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
348 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
349 66, 8, 23, 11, -14, -5, -17, -16, -19, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
350 -3, 5, 18, 17, -10, 0, 1, -23, 6, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
351 15, -18, 14, -22, -5, -10, -44, -23, -2, -26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
352 9, -3, 4, 14, 12, 29, 7, 16, 7, 18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
353 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
354 18, 9, -17, -4, 11, 3, 0, 11, 7, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
355 10, 3, 10, -18, 24, -3, 14, 7, 4, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
356 -16, 1, -27, -4, -27, 17, 12, 30, 0, 35,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
357 -9, -3, -12, -36, -35, -30, -2, -13, 2, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
358 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
359 40, -2, -29, -22, 7, -14, -12, -5, -7, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
360 12, -9, 18, -26, 26, 14, 24, 4, 16, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
361 -10, -2, -26, -18, -26, 7, -1, 15, -1, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
362 2, 0, -4, -11, -17, -21, -16, 1, -7, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
363 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
364 8, 1, -3, -2, 3, 10, 3, 32, -1, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
365 2, 4, 15, 1, 7, -3, 2, -4, -6, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
366 -26, -15, -29, -17, -40, 17, 0, 26, -2, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
367 -2, -29, -4, -36, -10, -6, 9, 0, 27, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
368 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
369 30, -11, -15, -20, 0, -8, -9, 15, -15, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
370 5, -9, 23, -6, 8, 13, 13, -7, 5, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
371 -20, -19, -27, -31, -39, 7, -13, 11, -4, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
372 8, -25, 3, -11, 7, 2, -4, 16, 18, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
373 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
374 26, 7, -11, 8, -5, 1, -17, 14, -1, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
375 24, 30, 32, 1, 33, -16, 18, -14, 0, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
376 -6, -4, -12, -12, -6, 13, 2, 23, 8, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
377 -4, 17, -5, -36, -18, -30, -8, -22, -10, -14,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
378 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
379 48, -4, -23, -9, -9, -17, -30, -2, -16, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
380 26, 16, 40, -6, 35, 1, 28, -17, 12, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
381 0, -8, -11, -25, -5, 3, -10, 8, 6, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
382 6, 22, 1, -11, -1, -21, -22, -7, -19, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
383 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
384 15, 0, 2, 10, -13, 7, -14, 35, -10, 23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
385 16, 31, 37, 21, 16, -17, 6, -26, -10, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
386 -16, -21, -13, -25, -19, 13, -8, 19, 5, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
387 1, -8, 2, -36, 5, -6, 3, -8, 15, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
388 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
389 37, -12, -9, -7, -17, -11, -26, 18, -25, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
390 19, 17, 45, 14, 17, 0, 17, -30, 1, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
391 -10, -25, -12, -38, -18, 3, -22, 4, 3, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
392 13, -3, 10, -11, 23, 2, -10, 7, 5, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
393 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
394 5, 29, -9, 11, 15, 22, 3, 0, 18, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
395 -1, 6, 7, -23, 6, -6, 5, 12, 15, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
396 5, 8, -17, 9, -28, 0, -11, 6, 2, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
397 -11, 0, -14, -13, -49, -22, -8, -9, 4, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
398 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
399 27, 16, -21, -6, 12, 3, -9, -16, 3, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
400 1, -7, 15, -31, 7, 10, 16, 9, 27, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
401 11, 5, -16, -3, -26, -9, -24, -7, 0, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
402 0, 4, -6, 11, -32, -14, -23, 6, -5, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
403 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
404 -4, 20, 3, 13, 8, 28, 6, 21, 10, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
405 -8, 7, 12, -3, -11, -7, -5, 0, 4, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
406 -4, -8, -18, -3, -41, 0, -22, 2, 0, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
407 -5, -25, -6, -14, -25, 1, 2, 4, 29, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
408 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
409 17, 8, -8, -4, 4, 10, -6, 5, -4, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
410 -6, -6, 20, -10, -9, 9, 4, -2, 16, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
411 1, -12, -17, -16, -39, -9, -36, -12, -2, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
412 6, -21, 1, 11, -7, 10, -11, 20, 20, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
413 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
414 13, 27, -3, 24, -1, 19, -14, 3, 9, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
415 12, 33, 29, -3, 15, -20, 9, -9, 11, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
416 16, 2, -2, 2, -7, -3, -20, 0, 10, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
417 -7, 22, -7, -13, -33, -23, -14, -18, -7, -12,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
418 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
419 35, 15, -15, 6, -4, 1, -27, -12, -5, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
420 15, 19, 37, -11, 16, -2, 20, -12, 23, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
421 22, -1, -1, -11, -5, -13, -34, -14, 8, -14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
422 4, 26, 0, 11, -16, -14, -29, -2, -17, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
423 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
424 3, 19, 9, 26, -8, 26, -10, 24, 0, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
425 5, 33, 34, 17, -2, -20, -1, -22, 0, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
426 6, -14, -3, -10, -20, -4, -32, -4, 7, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
427 0, -3, 0, -13, -9, 0, -3, -4, 17, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
428 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
429 25, 7, -2, 8, -12, 7, -23, 8, -13, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
430 7, 20, 42, 9, 0, -3, 9, -25, 12, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
431 12, -18, -2, -24, -19, -13, -46, -19, 5, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
432 10, 0, 8, 11, 8, 9, -17, 11, 7, 8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
433 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
434 -25, -7, 2, -8, 12, -7, 23, -8, 13, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
435 -7, -20, -42, -9, 0, 3, -9, 25, -12, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
436 -12, 18, 2, 24, 19, 13, 46, 19, -5, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
437 -10, 0, -8, -11, -8, -9, 17, -11, -7, -8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
438 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
439 -3, -19, -9, -26, 8, -26, 10, -24, 0, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
440 -5, -33, -34, -17, 2, 20, 1, 22, 0, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
441 -6, 14, 3, 10, 20, 4, 32, 4, -7, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
442 0, 3, 0, 13, 9, 0, 3, 4, -17, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
443 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
444 -35, -15, 15, -6, 4, -1, 27, 12, 5, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
445 -15, -19, -37, 11, -16, 2, -20, 12, -23, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
446 -22, 1, 1, 11, 5, 13, 34, 14, -8, 14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
447 -4, -26, 0, -11, 16, 14, 29, 2, 17, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
448 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
449 -13, -27, 3, -24, 1, -19, 14, -3, -9, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
450 -12, -33, -29, 3, -15, 20, -9, 9, -11, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
451 -16, -2, 2, -2, 7, 3, 20, 0, -10, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
452 7, -22, 7, 13, 33, 23, 14, 18, 7, 12,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
453 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
454 -17, -8, 8, 4, -4, -10, 6, -5, 4, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
455 6, 6, -20, 10, 9, -9, -4, 2, -16, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
456 -1, 12, 17, 16, 39, 9, 36, 12, 2, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
457 -6, 21, -1, -11, 7, -10, 11, -20, -20, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
458 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
459 4, -20, -3, -13, -8, -28, -6, -21, -10, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
460 8, -7, -12, 3, 11, 7, 5, 0, -4, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
461 4, 8, 18, 3, 41, 0, 22, -2, 0, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
462 5, 25, 6, 14, 25, -1, -2, -4, -29, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
463 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
464 -27, -16, 21, 6, -12, -3, 9, 16, -3, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
465 -1, 7, -15, 31, -7, -10, -16, -9, -27, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
466 -11, -5, 16, 3, 26, 9, 24, 7, 0, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
467 0, -4, 6, -11, 32, 14, 23, -6, 5, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
468 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
469 -5, -29, 9, -11, -15, -22, -3, 0, -18, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
470 1, -6, -7, 23, -6, 6, -5, -12, -15, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
471 -5, -8, 17, -9, 28, 0, 11, -6, -2, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
472 11, 0, 14, 13, 49, 22, 8, 9, -4, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
473 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
474 -37, 12, 9, 7, 17, 11, 26, -18, 25, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
475 -19, -17, -45, -14, -17, 0, -17, 30, -1, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
476 10, 25, 12, 38, 18, -3, 22, -4, -3, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
477 -13, 3, -10, 11, -23, -2, 10, -7, -5, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
478 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
479 -15, 0, -2, -10, 13, -7, 14, -35, 10, -23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
480 -16, -31, -37, -21, -16, 17, -6, 26, 10, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
481 16, 21, 13, 25, 19, -13, 8, -19, -5, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
482 -1, 8, -2, 36, -5, 6, -3, 8, -15, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
483 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
484 -48, 4, 23, 9, 9, 17, 30, 2, 16, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
485 -26, -16, -40, 6, -35, -1, -28, 17, -12, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
486 0, 8, 11, 25, 5, -3, 10, -8, -6, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
487 -6, -22, -1, 11, 1, 21, 22, 7, 19, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
488 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
489 -26, -7, 11, -8, 5, -1, 17, -14, 1, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
490 -24, -30, -32, -1, -33, 16, -18, 14, 0, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
491 6, 4, 12, 12, 6, -13, -2, -23, -8, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
492 4, -17, 5, 36, 18, 30, 8, 22, 10, 14,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
493 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
494 -30, 11, 15, 20, 0, 8, 9, -15, 15, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
495 -5, 9, -23, 6, -8, -13, -13, 7, -5, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
496 20, 19, 27, 31, 39, -7, 13, -11, 4, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
497 -8, 25, -3, 11, -7, -2, 4, -16, -18, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
498 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
499 -8, -1, 3, 2, -3, -10, -3, -32, 1, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
500 -2, -4, -15, -1, -7, 3, -2, 4, 6, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
501 26, 15, 29, 17, 40, -17, 0, -26, 2, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
502 2, 29, 4, 36, 10, 6, -9, 0, -27, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
503 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
504 -40, 2, 29, 22, -7, 14, 12, 5, 7, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
505 -12, 9, -18, 26, -26, -14, -24, -4, -16, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
506 10, 2, 26, 18, 26, -7, 1, -15, 1, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
507 -2, 0, 4, 11, 17, 21, 16, -1, 7, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
508 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
509 -18, -9, 17, 4, -11, -3, 0, -11, -7, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
510 -10, -3, -10, 18, -24, 3, -14, -7, -4, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
511 16, -1, 27, 4, 27, -17, -12, -30, 0, -35,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
512 9, 3, 12, 36, 35, 30, 2, 13, -2, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
513 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
514 -66, -8, -23, -11, 14, 5, 17, 16, 19, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
515 3, -5, -18, -17, 10, 0, -1, 23, -6, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
516 -15, 18, -14, 22, 5, 10, 44, 23, 2, 26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
517 -9, 3, -4, -14, -12, -29, -7, -16, -7, -18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
518 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
519 -44, -20, -34, -29, 10, -13, 4, 0, 4, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
520 5, -19, -10, -24, 11, 17, 8, 20, 5, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
521 -9, 14, -12, 9, 6, 0, 30, 9, 0, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
522 2, 7, 2, 10, 5, -20, -21, -1, -17, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
523 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
524 -77, -16, -9, -9, 6, 11, 21, 37, 10, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
525 -4, -5, -13, 3, -7, 0, -13, 11, -17, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
526 -25, 1, -15, 9, -7, 9, 32, 19, 0, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
527 -2, -22, 3, -15, 12, -5, 4, -2, 17, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
528 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
529 -55, -28, -21, -27, 2, -7, 8, 20, -4, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
530 -1, -18, -5, -4, -5, 16, -2, 8, -5, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
531 -19, -2, -14, -3, -6, 0, 18, 4, -2, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
532 8, -18, 11, 10, 29, 3, -10, 13, 8, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
533 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
534 -58, -9, -16, 1, -2, 2, 0, 19, 10, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
535 17, 21, 3, 3, 19, -12, 2, 0, -10, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
536 -5, 12, 0, 15, 26, 5, 34, 16, 11, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
537 -4, 25, 2, -14, 3, -29, -13, -25, -20, -20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
538 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
539 -36, -21, -28, -16, -6, -16, -12, 2, -4, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
540 20, 7, 11, -4, 20, 4, 12, -2, 1, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
541 0, 8, 2, 2, 27, -4, 21, 2, 9, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
542 6, 29, 9, 10, 21, -21, -28, -10, -29, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
543 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
544 -69, -17, -3, 3, -10, 8, 3, 40, 1, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
545 10, 21, 8, 23, 1, -13, -8, -11, -21, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
546 -15, -4, 0, 2, 13, 5, 23, 12, 7, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
547 1, 0, 10, -14, 28, -5, -1, -11, 5, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
548 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
549 -47, -30, -15, -14, -14, -9, -9, 23, -13, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
550 12, 7, 16, 15, 3, 3, 1, -14, -9, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
551 -9, -8, 0, -10, 14, -4, 9, -2, 5, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
552 13, 3, 18, 10, 45, 3, -16, 4, -4, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
553 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
554 -79, 11, -15, 4, 18, 23, 20, 5, 30, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
555 -7, -2, -21, -21, -8, -3, -10, 28, 4, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
556 6, 25, -3, 37, 4, -7, 20, 0, 4, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
557 -11, 7, -6, 8, -27, -22, -14, -12, -5, -16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
558 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
559 -57, 0, -27, -13, 14, 5, 7, -11, 15, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
560 -5, -16, -13, -29, -6, 13, 0, 25, 16, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
561 12, 22, -2, 23, 6, -16, 7, -14, 2, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
562 0, 12, 0, 33, -9, -13, -28, 3, -14, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
563 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
564 -90, 3, -2, 6, 10, 29, 24, 26, 21, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
565 -15, -2, -16, -1, -25, -4, -21, 16, -6, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
566 -3, 8, -5, 24, -8, -7, 9, -4, 1, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
567 -5, -18, 1, 7, -2, 1, -2, 1, 19, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
568 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
569 -67, -8, -14, -11, 7, 11, 11, 9, 7, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
570 -13, -16, -8, -9, -24, 12, -10, 13, 5, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
571 2, 4, -3, 10, -6, -17, -4, -19, 0, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
572 6, -13, 9, 33, 14, 10, -16, 17, 10, 4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
573 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
574 -71, 10, -9, 17, 1, 20, 3, 8, 21, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
575 6, 24, 0, -1, 0, -16, -6, 5, 0, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
576 17, 19, 11, 29, 25, -11, 11, -6, 13, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
577 -7, 29, 0, 8, -11, -22, -20, -21, -17, -18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
578 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
579 -49, -2, -21, 0, -1, 2, -9, -8, 6, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
580 8, 10, 8, -9, 2, 0, 4, 2, 13, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
581 23, 15, 12, 16, 26, -21, -2, -21, 11, -23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
582 4, 33, 7, 33, 6, -13, -34, -5, -27, -10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
583 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
584 -82, 1, 4, 19, -6, 27, 6, 29, 12, 26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
585 -1, 24, 5, 18, -17, -17, -17, -6, -10, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
586 7, 2, 9, 16, 12, -11, 0, -11, 9, -23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
587 0, 3, 8, 8, 13, 1, -8, -7, 7, -6,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
588 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
589 -60, -10, -7, 1, -9, 8, -6, 13, -2, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
590 1, 10, 13, 11, -15, 0, -6, -9, 1, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
591 13, -1, 11, 3, 13, -21, -13, -26, 7, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
592 10, 7, 16, 33, 31, 10, -22, 8, -1, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
593 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
594 -3, 7, -5, -5, 8, -2, 17, -9, 18, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
595 -2, -19, -10, -4, 28, 17, 5, 28, -2, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
596 -4, 15, 7, 8, 6, 23, 13, 21, -14, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
597 -17, -18, -11, -33, -30, -11, 23, -13, -5, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
598 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
599 18, -4, -17, -23, 4, -20, 4, -26, 3, -36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
600 0, -32, -2, -12, 29, 34, 16, 24, 10, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
601 0, 12, 8, -4, 8, 13, 0, 6, -16, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
602 -5, -13, -3, -7, -13, -3, 8, 2, -14, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
603 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
604 -13, 0, 8, -3, 0, 4, 21, 11, 9, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
605 -10, -18, -5, 16, 10, 16, -5, 15, -13, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
606 -15, -1, 6, -4, -6, 23, 2, 16, -17, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
607 -10, -44, -3, -33, -6, 12, 34, 1, 20, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
608 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
609 8, -12, -3, -21, -3, -14, 8, -5, -4, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
610 -7, -32, 2, 8, 12, 34, 4, 12, -1, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
611 -9, -4, 7, -17, -4, 13, -11, 1, -19, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
612 0, -39, 4, -7, 11, 21, 20, 16, 10, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
613 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
614 4, 6, 0, 7, -8, -4, 0, -6, 9, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
615 11, 7, 11, 15, 37, 4, 9, 5, -5, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
616 5, 9, 22, 1, 27, 18, 4, 14, -5, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
617 -12, 3, -4, -32, -14, -12, 17, -22, -17, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
618 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
619 26, -6, -11, -10, -12, -23, -12, -23, -5, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
620 13, -5, 19, 8, 38, 21, 20, 2, 6, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
621 11, 5, 23, -11, 29, 9, -9, 0, -7, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
622 -1, 7, 2, -7, 3, -3, 2, -6, -27, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
623 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
624 -6, -2, 14, 9, -16, 1, 3, 14, 0, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
625 3, 8, 16, 36, 19, 3, -1, -6, -17, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
626 -4, -7, 21, -11, 14, 18, -7, 9, -9, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
627 -6, -22, 3, -33, 10, 11, 28, -7, 7, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
628 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
629 16, -14, 2, -8, -20, -17, -9, -2, -14, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
630 6, -5, 24, 28, 21, 20, 8, -9, -4, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
631 1, -11, 22, -24, 15, 8, -21, -5, -11, -14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
632 5, -18, 11, -7, 27, 20, 14, 7, -1, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
633 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
634 -16, 27, 2, 10, 13, 16, 20, -20, 29, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
635 -14, -16, -13, -8, 9, 13, -2, 33, 9, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
636 17, 23, 17, 22, 6, 6, -9, -2, -12, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
637 -20, -13, -13, -10, -45, -4, 16, -8, -2, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
638 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
639 5, 15, -9, -7, 9, -2, 8, -37, 14, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
640 -11, -29, -5, -16, 11, 30, 7, 29, 21, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
641 23, 19, 18, 9, 7, -3, -23, -17, -14, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
642 -8, -9, -6, 15, -27, 4, 2, 6, -12, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
643 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
644 -26, 19, 15, 12, 5, 22, 24, 0, 21, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
645 -21, -15, -8, 11, -7, 12, -14, 20, -2, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
646 7, 6, 16, 9, -6, 5, -21, -7, -15, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
647 -13, -39, -5, -10, -20, 19, 28, 5, 22, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
648 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
649 -4, 6, 3, -5, 1, 4, 11, -16, 6, -23,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
650 -19, -29, 0, 3, -6, 30, -3, 17, 10, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
651 13, 2, 17, -3, -5, -3, -35, -21, -17, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
652 -2, -35, 2, 15, -3, 28, 13, 21, 13, 13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
653 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
654 -8, 25, 8, 23, -3, 13, 3, -17, 20, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
655 0, 10, 8, 11, 18, 0, 1, 10, 5, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
656 28, 17, 32, 15, 26, 1, -19, -9, -3, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
657 -15, 7, -6, -9, -29, -5, 10, -17, -15, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
658 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
659 13, 13, -3, 5, -7, -4, -9, -34, 5, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
660 2, -3, 16, 3, 20, 17, 11, 7, 17, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
661 34, 13, 33, 2, 28, -8, -32, -24, -5, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
662 -3, 12, 0, 15, -11, 3, -3, -2, -24, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
663 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
664 -18, 17, 21, 25, -11, 19, 6, 3, 11, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
665 -7, 11, 13, 31, 1, 0, -9, -1, -5, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
666 18, 0, 31, 2, 13, 1, -30, -14, -7, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
667 -9, -18, 1, -10, -4, 18, 22, -3, 10, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
668 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
669 3, 5, 9, 7, -15, 1, -5, -13, -2, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
670 -5, -2, 21, 23, 2, 16, 0, -5, 6, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
671 23, -3, 32, -10, 15, -8, -44, -28, -9, -37,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
672 2, -13, 9, 15, 12, 27, 7, 12, 0, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
673 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
674 -44, 6, -30, -8, 9, 10, 11, 14, 23, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
675 8, -4, 14, -12, 37, 14, 12, 26, 4, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
676 -8, 16, -9, 7, -6, 19, 12, 25, -5, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
677 -15, -13, -8, -36, -34, -31, -1, -18, -4, -18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
678 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
679 -22, -5, -42, -26, 6, -8, -1, -2, 9, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
680 10, -18, 21, -19, 39, 31, 23, 23, 16, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
681 -2, 12, -7, -6, -5, 9, -1, 10, -7, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
682 -4, -9, 0, -10, -17, -22, -16, -2, -14, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
683 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
684 -55, -1, -17, -6, 1, 16, 15, 35, 15, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
685 0, -4, 19, 8, 20, 13, 1, 14, -7, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
686 -18, 0, -10, -5, -19, 19, 0, 21, -8, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
687 -9, -39, 0, -36, -10, -7, 9, -4, 20, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
688 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
689 -33, -13, -29, -24, -1, -1, 2, 18, 0, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
690 3, -17, 27, 0, 21, 30, 12, 11, 5, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
691 -12, -4, -9, -19, -18, 9, -13, 6, -11, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
692 2, -35, 8, -10, 7, 1, -4, 11, 10, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
693 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
694 -36, 5, -24, 4, -7, 7, -6, 17, 14, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
695 22, 22, 35, 8, 46, 1, 17, 3, 0, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
696 2, 10, 5, 0, 14, 15, 2, 18, 2, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
697 -11, 7, -1, -36, -18, -32, -7, -27, -17, -20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
698 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
699 -14, -7, -36, -13, -10, -10, -18, 0, 0, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
700 25, 8, 43, 0, 48, 18, 27, 0, 12, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
701 7, 6, 7, -13, 15, 5, -11, 3, 0, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
702 0, 12, 6, -10, 0, -23, -22, -11, -26, -12,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
703 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
704 -47, -3, -11, 6, -15, 13, -2, 38, 6, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
705 15, 22, 40, 28, 28, 0, 5, -8, -10, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
706 -7, -7, 4, -13, 1, 14, -9, 14, 0, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
707 -4, -18, 7, -36, 6, -8, 3, -13, 7, -8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
708 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
709 -25, -15, -22, -11, -18, -4, -15, 22, -8, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
710 17, 9, 48, 20, 30, 17, 16, -11, 1, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
711 -2, -10, 5, -26, 2, 4, -22, 0, -2, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
712 6, -13, 14, -10, 23, 0, -10, 2, -1, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
713 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
714 -57, 26, -22, 7, 14, 28, 14, 3, 35, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
715 -3, -1, 11, -16, 18, 10, 4, 31, 15, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
716 14, 23, 1, 21, -7, 2, -11, 1, -3, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
717 -18, -9, -10, -13, -49, -24, -8, -14, -2, -16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
718 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
719 -35, 14, -34, -10, 10, 10, 1, -12, 20, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
720 0, -15, 18, -24, 20, 27, 14, 28, 27, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
721 20, 19, 2, 8, -5, -7, -25, -13, -5, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
722 -6, -5, -2, 12, -31, -15, -23, 1, -12, -8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
723 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
724 -68, 18, -9, 9, 6, 35, 18, 25, 26, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
725 -10, -1, 16, 3, 1, 9, -6, 19, 4, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
726 4, 6, 0, 8, -20, 2, -23, -2, -7, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
727 -12, -35, -1, -13, -24, 0, 3, 0, 22, -4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
728 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
729 -46, 6, -21, -8, 2, 16, 5, 8, 11, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
730 -8, -15, 24, -4, 2, 26, 3, 16, 16, 14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
731 9, 2, 1, -4, -19, -7, -36, -17, -9, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
732 0, -31, 5, 12, -7, 8, -11, 15, 13, 4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
733 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
734 -49, 24, -16, 20, -2, 26, -2, 7, 25, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
735 11, 25, 32, 3, 27, -2, 8, 8, 11, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
736 24, 17, 16, 14, 13, -2, -20, -5, 4, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
737 -14, 12, -3, -13, -33, -25, -14, -23, -15, -19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
738 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
739 -27, 12, -28, 2, -6, 7, -15, -9, 11, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
740 13, 11, 40, -4, 29, 14, 19, 5, 23, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
741 30, 13, 17, 0, 14, -12, -34, -20, 2, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
742 -2, 16, 4, 12, -15, -16, -29, -7, -24, -10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
743 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
744 -60, 16, -3, 22, -10, 32, 0, 28, 17, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
745 3, 25, 37, 23, 10, -3, -2, -3, 0, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
746 14, 0, 14, 1, 0, -2, -32, -9, 1, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
747 -7, -13, 5, -13, -8, -1, -2, -8, 10, -6,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
748 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
749 -38, 4, -15, 4, -14, 13, -12, 11, 2, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
750 6, 11, 45, 16, 11, 13, 7, -6, 12, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
751 20, -3, 16, -12, 1, -12, -46, -24, 0, -33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
752 3, -9, 12, 12, 8, 7, -17, 6, 0, 2
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
753 }
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
754 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
755
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
756 const int8_t cb2_vects[128][40]={
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
757 {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
758 73, -32, -60, -15, -26, 59, 2, -33, 30, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
759 -3, -17, 8, 30, -1, -26, -4, -22, 10, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
760 -36, -5, -11, 56, 37, 6, -10, -5, -13, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
761 6, -5, 11, 4, -19, -5, -16, 41, 24, 13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
762 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
763 4, -11, -37, 23, -5, 46, -2, -29, -5, -39,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
764 -21, -9, 0, 49, 12, -9, -16, -26, 22, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
765 -45, -20, -5, 40, 22, 17, -26, 31, -14, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
766 -14, 10, 30, 20, -27, -9, -39, 39, 18, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
767 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
768 34, -25, -48, -28, -11, 34, -2, -41, 9, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
769 -17, 21, 20, 24, -17, -33, 0, -24, 10, 42,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
770 3, -5, 10, 42, 11, 8, -3, 3, 16, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
771 22, -2, 0, -33, -10, 18, 7, 58, 10, 28,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
772 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
773 -34, -4, -25, 10, 9, 21, -7, -36, -26, -36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
774 -35, 28, 12, 42, -3, -16, -12, -28, 21, 42,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
775 -5, -21, 16, 26, -4, 19, -19, 39, 15, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
776 1, 13, 19, -17, -17, 14, -15, 55, 4, 19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
777 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
778 28, -20, -51, -14, -6, 7, 0, -26, 27, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
779 18, -40, -6, 16, -1, -15, 0, -55, -5, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
780 -19, 14, -3, 49, 14, 1, -22, -30, -12, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
781 24, 15, 9, -17, -45, -29, 4, 28, 51, 35,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
782 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
783 -40, 0, -28, 24, 14, -5, -4, -21, -7, -33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
784 0, -32, -15, 35, 12, 1, -11, -58, 5, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
785 -28, 0, 1, 33, 0, 11, -39, 5, -14, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
786 3, 31, 28, -1, -53, -33, -19, 25, 46, 26,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
787 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
788 -11, -14, -39, -27, 9, -17, -4, -33, 6, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
789 4, -1, 5, 10, -17, -22, 5, -57, -5, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
790 20, 13, 18, 35, -11, 3, -16, -22, 17, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
791 40, 19, -1, -55, -35, -5, 27, 44, 37, 49,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
792 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
793 -80, 6, -16, 11, 30, -30, -9, -28, -28, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
794 -13, 6, -2, 28, -3, -5, -7, -60, 5, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
795 11, -1, 24, 19, -27, 13, -32, 13, 15, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
796 19, 35, 17, -39, -43, -9, 4, 42, 32, 41,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
797 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
798 78, -21, -43, 4, -38, 17, 17, -5, 55, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
799 -15, -36, 14, 4, 24, -24, 12, 5, 17, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
800 -54, -5, -2, 27, 43, -12, 2, 9, -9, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
801 22, -3, 28, 21, -20, 3, 20, 28, 9, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
802 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
803 9, -1, -20, 43, -17, 3, 12, 0, 20, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
804 -33, -29, 6, 22, 38, -7, 0, 1, 29, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
805 -63, -21, 3, 11, 27, -1, -14, 45, -10, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
806 1, 12, 47, 37, -28, 0, -2, 26, 4, -13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
807 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
808 39, -14, -30, -8, -22, -8, 12, -12, 34, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
809 -29, 2, 26, -2, 8, -31, 16, 3, 17, 57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
810 -14, -6, 19, 13, 16, -10, 8, 17, 20, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
811 38, 0, 17, -16, -11, 27, 44, 45, -4, 8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
812 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
813 -29, 5, -7, 30, -1, -21, 7, -7, 0, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
814 -47, 9, 18, 15, 22, -14, 4, 0, 28, 57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
815 -23, -21, 25, -2, 1, 0, -7, 53, 19, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
816 17, 15, 36, 0, -19, 24, 21, 43, -9, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
817 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
818 33, -10, -34, 5, -17, -35, 15, 1, 53, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
819 6, -59, 0, -10, 24, -13, 17, -27, 1, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
820 -37, 13, 4, 20, 20, -18, -10, -16, -8, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
821 39, 18, 26, 0, -46, -20, 41, 15, 37, 15,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
822 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
823 -35, 10, -11, 44, 3, -48, 10, 6, 17, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
824 -11, -51, -8, 8, 38, 3, 4, -31, 12, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
825 -46, -1, 10, 4, 5, -7, -26, 19, -10, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
826 18, 34, 45, 15, -54, -24, 18, 13, 31, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
827 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
828 -5, -3, -21, -7, -2, -60, 10, -5, 32, 34,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
829 -7, -20, 11, -16, 8, -20, 21, -29, 1, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
830 2, 13, 27, 6, -5, -15, -3, -8, 21, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
831 55, 21, 15, -38, -37, 3, 65, 32, 23, 30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
832 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
833 -74, 17, 0, 31, 18, -73, 5, 0, -3, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
834 -25, -12, 3, 1, 22, -3, 9, -33, 12, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
835 -6, -2, 33, -9, -21, -5, -20, 27, 19, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
836 34, 37, 34, -22, -44, 0, 41, 29, 17, 21,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
837 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
838 76, -35, -31, -28, -49, 43, -40, 0, 29, -14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
839 8, 5, 10, 18, -26, -46, 0, 7, 6, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
840 -25, -7, -2, 40, 28, 14, 18, -3, -27, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
841 -8, -45, -13, 34, -13, -27, -15, 31, 12, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
842 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
843 7, -15, -9, 9, -28, 29, -45, 5, -6, -43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
844 -9, 12, 2, 36, -12, -30, -11, 3, 17, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
845 -34, -22, 3, 24, 12, 24, 2, 32, -28, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
846 -29, -29, 5, 50, -21, -31, -38, 29, 7, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
847 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
848 36, -29, -19, -41, -34, 18, -45, -6, 8, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
849 -5, 43, 23, 11, -42, -53, 5, 5, 6, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
850 14, -8, 20, 26, 1, 16, 25, 4, 3, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
851 7, -41, -23, -3, -4, -3, 8, 48, -1, 17,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
852 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
853 -32, -8, 3, -2, -13, 4, -50, -1, -27, -39,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
854 -23, 51, 15, 30, -27, -37, -7, 1, 17, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
855 5, -23, 25, 10, -14, 26, 8, 41, 1, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
856 -13, -26, -5, 12, -12, -7, -14, 45, -6, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
857 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
858 31, -24, -23, -27, -29, -9, -43, 8, 26, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
859 30, -17, -4, 3, -26, -35, 5, -24, -10, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
860 -9, 12, 5, 33, 5, 8, 5, -29, -26, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
861 9, -23, -14, 12, -39, -52, 5, 18, 39, 24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
862 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
863 -37, -3, 0, 10, -7, -22, -48, 12, -8, -36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
864 12, -9, -12, 22, -12, -19, -6, -28, 0, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
865 -18, -3, 11, 17, -10, 18, -10, 7, -27, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
866 -11, -7, 3, 28, -47, -55, -18, 15, 34, 16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
867 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
868 -8, -17, -10, -40, -13, -34, -47, 0, 5, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
869 16, 21, 8, -2, -42, -43, 10, -26, -10, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
870 31, 11, 27, 19, -21, 10, 12, -20, 3, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
871 25, -20, -25, -25, -29, -28, 28, 34, 25, 38,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
872 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
873 -77, 2, 11, -1, 7, -47, -52, 5, -29, -33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
874 -1, 28, 0, 15, -28, -26, -2, -30, 0, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
875 22, -4, 33, 3, -36, 21, -3, 15, 2, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
876 4, -4, -6, -9, -37, -31, 5, 32, 20, 30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
877 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
878 81, -25, -14, -8, -61, 0, -25, 28, 54, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
879 -3, -14, 17, -8, 0, -44, 16, 35, 13, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
880 -43, -7, 6, 11, 33, -4, 30, 11, -22, -40,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
881 6, -43, 3, 50, -14, -18, 22, 18, -1, -16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
882 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
883 12, -4, 8, 29, -39, -12, -30, 33, 19, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
884 -21, -6, 8, 9, 13, -28, 4, 31, 24, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
885 -52, -23, 12, -4, 18, 5, 14, 47, -24, -34,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
886 -14, -27, 22, 66, -22, -22, -1, 16, -6, -24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
887 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
888 41, -18, -2, -21, -45, -24, -30, 21, 33, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
889 -17, 24, 29, -15, -16, -51, 21, 33, 13, 45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
890 -3, -8, 28, -2, 7, -2, 37, 19, 7, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
891 22, -39, -7, 12, -5, 5, 45, 35, -15, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
892 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
893 -27, 1, 20, 17, -24, -38, -35, 26, -1, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
894 -35, 32, 21, 3, -2, -35, 8, 29, 24, 44,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
895 -12, -24, 34, -18, -8, 7, 21, 55, 5, -21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
896 2, -23, 11, 28, -13, 1, 22, 33, -21, -10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
897 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
898 36, -13, -5, -7, -40, -51, -28, 36, 52, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
899 18, -36, 2, -22, 0, -33, 21, 2, -3, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
900 -26, 11, 14, 4, 10, -10, 18, -14, -22, -36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
901 24, -21, 1, 28, -40, -42, 42, 5, 25, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
902 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
903 -32, 6, 17, 31, -19, -65, -33, 41, 16, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
904 0, -29, -6, -4, 13, -17, 9, -1, 8, -14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
905 -35, -3, 19, -11, -4, 0, 1, 21, -23, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
906 3, -5, 20, 44, -48, -46, 19, 3, 20, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
907 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
908 -3, -7, 6, -20, -25, -77, -32, 29, 31, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
909 4, 2, 14, -29, -16, -40, 26, 0, -3, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
910 13, 10, 36, -9, -15, -8, 24, -6, 7, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
911 40, -17, -8, -9, -31, -18, 66, 22, 11, 19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
912 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
913 -72, 13, 29, 18, -4, -90, -37, 34, -4, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
914 -13, 9, 6, -11, -2, -24, 13, -3, 7, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
915 4, -4, 42, -25, -31, 1, 8, 29, 6, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
916 19, -2, 10, 6, -38, -22, 42, 19, 6, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
917 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
918 116, -20, -68, -30, -28, 83, 28, -18, 32, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
919 -13, -21, 5, 28, 5, -7, -24, -8, -22, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
920 -23, 30, -25, 45, 15, -9, -11, -18, 22, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
921 4, -2, 19, -12, 23, 3, -43, 2, 12, -4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
922 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
923 47, 0, -45, 7, -7, 69, 23, -13, -2, -51,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
924 -32, -14, -3, 47, 19, 8, -37, -11, -10, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
925 -32, 15, -19, 29, 0, 1, -28, 18, 20, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
926 -16, 13, 38, 3, 15, 0, -66, 0, 7, -13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
927 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
928 77, -13, -56, -43, -13, 57, 23, -26, 11, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
929 -27, 16, 17, 22, -10, -15, -19, -10, -22, 43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
930 16, 30, -2, 31, -11, -6, -5, -9, 52, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
931 20, 0, 8, -50, 33, 27, -19, 19, -1, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
932 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
933 8, 6, -33, -4, 7, 44, 18, -21, -23, -48,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
934 -46, 24, 9, 40, 3, 1, -32, -13, -11, 43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
935 7, 14, 3, 15, -26, 3, -21, 26, 50, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
936 0, 16, 27, -34, 25, 23, -43, 17, -6, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
937 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
938 71, -9, -59, -29, -8, 30, 26, -11, 30, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
939 8, -44, -9, 14, 5, 2, -19, -40, -38, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
940 -7, 50, -17, 38, -7, -14, -24, -43, 22, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
941 22, 19, 17, -34, -2, -20, -23, -10, 39, 16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
942 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
943 2, 11, -36, 9, 13, 17, 21, -6, -5, -45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
944 -10, -36, -18, 33, 19, 19, -31, -44, -27, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
945 -16, 34, -11, 22, -22, -4, -40, -7, 21, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
946 1, 35, 36, -18, -10, -24, -46, -12, 34, 8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
947 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
948 32, -2, -47, -42, 7, 5, 21, -18, 9, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
949 -5, -5, 2, 8, -10, -4, -14, -42, -38, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
950 33, 49, 5, 24, -33, -12, -17, -35, 52, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
951 38, 22, 7, -72, 7, 3, 0, 6, 25, 30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
952 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
953 -36, 18, -24, -3, 28, -7, 16, -13, -26, -41,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
954 -24, 1, -5, 26, 3, 12, -27, -46, -27, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
955 24, 34, 10, 8, -49, -2, -34, 0, 51, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
956 17, 38, 25, -56, 0, 0, -22, 3, 20, 22,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
957 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
958 121, -9, -50, -10, -40, 40, 43, 9, 58, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
959 -25, -41, 11, 2, 31, -5, -8, 19, -15, 32,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
960 -41, 30, -16, 16, 20, -28, 0, -3, 26, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
961 19, 0, 36, 4, 22, 12, -6, -9, -1, -24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
962 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
963 52, 10, -27, 27, -18, 26, 38, 14, 23, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
964 -44, -33, 3, 20, 45, 10, -20, 15, -3, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
965 -50, 14, -10, 0, 5, -17, -15, 32, 24, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
966 -1, 15, 55, 20, 14, 8, -29, -12, -7, -32,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
967 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
968 82, -3, -38, -23, -24, 15, 38, 2, 37, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
969 -39, -2, 23, -4, 15, -12, -3, 17, -15, 58,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
970 -1, 29, 6, 2, -5, -26, 7, 4, 56, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
971 35, 3, 25, -33, 32, 36, 17, 7, -15, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
972 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
973 13, 17, -15, 15, -3, 1, 33, 7, 1, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
974 -58, 5, 15, 13, 29, 3, -16, 13, -4, 57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
975 -10, 13, 11, -13, -21, -15, -9, 40, 55, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
976 14, 19, 44, -17, 24, 32, -5, 4, -21, -18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
977 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
978 76, 1, -41, -9, -19, -12, 41, 17, 55, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
979 -3, -63, -3, -12, 30, 5, -3, -12, -31, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
980 -24, 49, -8, 9, -1, -33, -12, -29, 27, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
981 37, 21, 34, -17, -3, -11, 14, -23, 25, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
982 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
983 7, 22, -18, 29, 1, -25, 36, 21, 20, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
984 -22, -56, -11, 6, 45, 21, -15, -16, -20, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
985 -33, 34, -2, -6, -17, -23, -28, 6, 25, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
986 16, 37, 53, -1, -11, -15, -8, -25, 20, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
987 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
988 37, 8, -29, -22, -4, -37, 36, 9, 34, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
989 -17, -24, 8, -18, 15, -2, 1, -14, -31, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
990 15, 48, 13, -4, -28, -31, -5, -21, 57, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
991 53, 24, 23, -55, 6, 12, 37, -6, 11, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
992 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
993 -31, 28, -6, 16, 16, -50, 31, 14, 0, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
994 -36, -17, 0, 0, 29, 14, -11, -18, -20, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
995 6, 33, 19, -20, -43, -21, -21, 14, 55, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
996 32, 40, 42, -39, -1, 8, 14, -8, 6, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
997 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
998 119, -24, -39, -44, -51, 66, -14, 15, 31, -26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
999 -1, 0, 7, 16, -19, -28, -19, 22, -26, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1000 -13, 28, -16, 29, 5, -1, 16, -16, 8, -35,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1001 -10, -42, -4, 17, 29, -19, -42, -7, 0, -15,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1002 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1003 50, -3, -16, -5, -30, 53, -19, 20, -3, -55,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1004 -19, 8, 0, 34, -5, -11, -32, 18, -15, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1005 -22, 13, -10, 13, -9, 8, 0, 19, 7, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1006 -31, -26, 13, 33, 21, -22, -65, -9, -4, -23,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1007 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1008 79, -17, -27, -56, -36, 41, -19, 8, 10, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1009 -15, 39, 20, 9, -35, -35, -15, 20, -26, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1010 26, 27, 6, 15, -20, 0, 23, -8, 38, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1011 5, -38, -15, -20, 39, 4, -18, 9, -13, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1012 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1013 10, 3, -4, -18, -15, 27, -24, 13, -24, -51,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1014 -34, 47, 12, 28, -21, -19, -27, 16, -15, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1015 17, 12, 12, 0, -36, 10, 7, 27, 37, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1016 -15, -22, 3, -4, 31, 1, -42, 7, -18, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1017 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1018 74, -12, -30, -42, -30, 14, -16, 23, 29, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1019 20, -21, -7, 1, -19, -17, -14, -10, -43, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1020 3, 48, -8, 22, -16, -7, 4, -42, 9, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1021 6, -20, -6, -4, 3, -43, -22, -20, 28, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1022 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1023 5, 7, -7, -4, -9, 0, -21, 28, -6, -48,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1024 2, -14, -15, 20, -5, 0, -27, -14, -32, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1025 -5, 32, -2, 6, -32, 3, -12, -5, 8, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1026 -14, -4, 12, 11, -4, -47, -45, -22, 22, -2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1027 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1028 34, -6, -18, -55, -15, -11, -21, 16, 8, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1029 6, 16, 5, -4, -35, -24, -10, -12, -43, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1030 43, 47, 14, 8, -43, -5, 10, -34, 39, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1031 22, -16, -17, -42, 13, -19, 1, -3, 14, 20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1032 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1033 -34, 14, 4, -17, 5, -24, -26, 20, -27, -45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1034 -12, 24, -2, 13, -21, -8, -22, -16, -32, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1035 34, 31, 20, -7, -58, 5, -5, 2, 38, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1036 2, -1, 1, -26, 5, -23, -21, -6, 8, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1037 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1038 124, -13, -21, -23, -62, 23, 0, 43, 57, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1039 -13, -18, 14, -10, 6, -26, -3, 49, -19, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1040 -31, 27, -7, 0, 11, -20, 29, -1, 12, -47,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1041 4, -39, 11, 34, 28, -9, -5, -19, -13, -34,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1042 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1043 55, 6, 1, 14, -41, 10, -4, 48, 22, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1044 -31, -10, 5, 7, 20, -9, -16, 45, -8, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1045 -40, 12, -1, -15, -4, -10, 12, 34, 11, -41,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1046 -16, -24, 30, 49, 20, -13, -28, -22, -18, -43,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1047 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1048 84, -6, -9, -36, -47, -1, -4, 36, 36, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1049 -27, 20, 26, -17, -9, -33, 1, 47, -19, 46,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1050 9, 27, 15, -13, -15, -18, 35, 6, 42, -33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1051 20, -36, 1, -4, 38, 14, 18, -2, -27, -20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1052 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1053 15, 13, 13, 1, -26, -14, -9, 41, 1, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1054 -46, 27, 18, 1, 4, -16, -11, 43, -8, 45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1055 0, 11, 21, -29, -30, -8, 19, 42, 41, -28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1056 0, -20, 20, 11, 30, 10, -4, -5, -32, -28,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1057 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1058 79, -2, -12, -22, -42, -28, -1, 51, 54, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1059 8, -41, 0, -24, 6, -15, 1, 17, -36, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1060 -14, 47, 0, -6, -11, -26, 16, -27, 13, -43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1061 22, -18, 10, 12, 2, -34, 15, -33, 13, -13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1062 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1063 10, 18, 10, 15, -21, -41, -6, 56, 19, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1064 -9, -33, -9, -6, 20, 1, -11, 13, -24, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1065 -23, 32, 6, -22, -26, -15, 0, 8, 12, -37,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1066 1, -2, 28, 27, -5, -37, -7, -35, 8, -21,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1067 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1068 39, 4, 0, -35, -27, -53, -6, 44, 33, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1069 -5, -2, 11, -31, -9, -22, 6, 15, -36, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1070 25, 46, 23, -20, -37, -24, 23, -19, 43, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1071 38, -14, 0, -26, 12, -10, 38, -16, 0, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1072 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1073 -29, 25, 22, 2, -6, -67, -11, 49, -1, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1074 -24, 5, 3, -13, 4, -5, -6, 11, -25, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1075 16, 31, 28, -36, -53, -13, 6, 16, 42, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1076 17, 1, 18, -10, 4, -13, 15, -18, -5, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1077 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1078 29, -25, -22, -2, 6, 67, 11, -49, 1, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1079 24, -5, -3, 13, -4, 5, 6, -11, 25, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1080 -16, -31, -28, 36, 53, 13, -6, -16, -42, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1081 -17, -1, -18, 10, -4, 13, -15, 18, 5, 7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1082 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1083 -39, -4, 0, 35, 27, 53, 6, -44, -33, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1084 5, 2, -11, 31, 9, 22, -6, -15, 36, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1085 -25, -46, -23, 20, 37, 24, -23, 19, -43, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1086 -38, 14, 0, 26, -12, 10, -38, 16, 0, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1087 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1088 -10, -18, -10, -15, 21, 41, 6, -56, -19, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1089 9, 33, 9, 6, -20, -1, 11, -13, 24, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1090 23, -32, -6, 22, 26, 15, 0, -8, -12, 37,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1091 -1, 2, -28, -27, 5, 37, 7, 35, -8, 21,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1092 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1093 -79, 2, 12, 22, 42, 28, 1, -51, -54, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1094 -8, 41, 0, 24, -6, 15, -1, -17, 36, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1095 14, -47, 0, 6, 11, 26, -16, 27, -13, 43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1096 -22, 18, -10, -12, -2, 34, -15, 33, -13, 13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1097 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1098 -15, -13, -13, -1, 26, 14, 9, -41, -1, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1099 46, -27, -18, -1, -4, 16, 11, -43, 8, -45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1100 0, -11, -21, 29, 30, 8, -19, -42, -41, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1101 0, 20, -20, -11, -30, -10, 4, 5, 32, 28,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1102 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1103 -84, 6, 9, 36, 47, 1, 4, -36, -36, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1104 27, -20, -26, 17, 9, 33, -1, -47, 19, -46,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1105 -9, -27, -15, 13, 15, 18, -35, -6, -42, 33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1106 -20, 36, -1, 4, -38, -14, -18, 2, 27, 20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1107 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1108 -55, -6, -1, -14, 41, -10, 4, -48, -22, 20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1109 31, 10, -5, -7, -20, 9, 16, -45, 8, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1110 40, -12, 1, 15, 4, 10, -12, -34, -11, 41,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1111 16, 24, -30, -49, -20, 13, 28, 22, 18, 43,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1112 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1113 -124, 13, 21, 23, 62, -23, 0, -43, -57, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1114 13, 18, -14, 10, -6, 26, 3, -49, 19, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1115 31, -27, 7, 0, -11, 20, -29, 1, -12, 47,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1116 -4, 39, -11, -34, -28, 9, 5, 19, 13, 34,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1117 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1118 34, -14, -4, 17, -5, 24, 26, -20, 27, 45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1119 12, -24, 2, -13, 21, 8, 22, 16, 32, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1120 -34, -31, -20, 7, 58, -5, 5, -2, -38, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1121 -2, 1, -1, 26, -5, 23, 21, 6, -8, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1122 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1123 -34, 6, 18, 55, 15, 11, 21, -16, -8, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1124 -6, -16, -5, 4, 35, 24, 10, 12, 43, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1125 -43, -47, -14, -8, 43, 5, -10, 34, -39, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1126 -22, 16, 17, 42, -13, 19, -1, 3, -14, -20,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1127 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1128 -5, -7, 7, 4, 9, 0, 21, -28, 6, 48,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1129 -2, 14, 15, -20, 5, 0, 27, 14, 32, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1130 5, -32, 2, -6, 32, -3, 12, 5, -8, 25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1131 14, 4, -12, -11, 4, 47, 45, 22, -22, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1132 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1133 -74, 12, 30, 42, 30, -14, 16, -23, -29, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1134 -20, 21, 7, -1, 19, 17, 14, 10, 43, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1135 -3, -48, 8, -22, 16, 7, -4, 42, -9, 31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1136 -6, 20, 6, 4, -3, 43, 22, 20, -28, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1137 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1138 -10, -3, 4, 18, 15, -27, 24, -13, 24, 51,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1139 34, -47, -12, -28, 21, 19, 27, -16, 15, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1140 -17, -12, -12, 0, 36, -10, -7, -27, -37, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1141 15, 22, -3, 4, -31, -1, 42, -7, 18, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1142 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1143 -79, 17, 27, 56, 36, -41, 19, -8, -10, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1144 15, -39, -20, -9, 35, 35, 15, -20, 26, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1145 -26, -27, -6, -15, 20, 0, -23, 8, -38, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1146 -5, 38, 15, 20, -39, -4, 18, -9, 13, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1147 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1148 -50, 3, 16, 5, 30, -53, 19, -20, 3, 55,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1149 19, -8, 0, -34, 5, 11, 32, -18, 15, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1150 22, -13, 10, -13, 9, -8, 0, -19, -7, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1151 31, 26, -13, -33, -21, 22, 65, 9, 4, 23,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1152 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1153 -119, 24, 39, 44, 51, -66, 14, -15, -31, 26,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1154 1, 0, -7, -16, 19, 28, 19, -22, 26, -4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1155 13, -28, 16, -29, -5, 1, -16, 16, -8, 35,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1156 10, 42, 4, -17, -29, 19, 42, 7, 0, 15,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1157 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1158 31, -28, 6, -16, -16, 50, -31, -14, 0, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1159 36, 17, 0, 0, -29, -14, 11, 18, 20, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1160 -6, -33, -19, 20, 43, 21, 21, -14, -55, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1161 -32, -40, -42, 39, 1, -8, -14, 8, -6, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1162 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1163 -37, -8, 29, 22, 4, 37, -36, -9, -34, -22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1164 17, 24, -8, 18, -15, 2, -1, 14, 31, -25,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1165 -15, -48, -13, 4, 28, 31, 5, 21, -57, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1166 -53, -24, -23, 55, -6, -12, -37, 6, -11, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1167 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1168 -7, -22, 18, -29, -1, 25, -36, -21, -20, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1169 22, 56, 11, -6, -45, -21, 15, 16, 20, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1170 33, -34, 2, 6, 17, 23, 28, -6, -25, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1171 -16, -37, -53, 1, 11, 15, 8, 25, -20, 11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1172 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1173 -76, -1, 41, 9, 19, 12, -41, -17, -55, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1174 3, 63, 3, 12, -30, -5, 3, 12, 31, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1175 24, -49, 8, -9, 1, 33, 12, 29, -27, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1176 -37, -21, -34, 17, 3, 11, -14, 23, -25, 2,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1177 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1178 -13, -17, 15, -15, 3, -1, -33, -7, -1, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1179 58, -5, -15, -13, -29, -3, 16, -13, 4, -57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1180 10, -13, -11, 13, 21, 15, 9, -40, -55, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1181 -14, -19, -44, 17, -24, -32, 5, -4, 21, 18,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1182 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1183 -82, 3, 38, 23, 24, -15, -38, -2, -37, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1184 39, 2, -23, 4, -15, 12, 3, -17, 15, -58,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1185 1, -29, -6, -2, 5, 26, -7, -4, -56, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1186 -35, -3, -25, 33, -32, -36, -17, -7, 15, 9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1187 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1188 -52, -10, 27, -27, 18, -26, -38, -14, -23, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1189 44, 33, -3, -20, -45, -10, 20, -15, 3, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1190 50, -14, 10, 0, -5, 17, 15, -32, -24, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1191 1, -15, -55, -20, -14, -8, 29, 12, 7, 32,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1192 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1193 -121, 9, 50, 10, 40, -40, -43, -9, -58, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1194 25, 41, -11, -2, -31, 5, 8, -19, 15, -32,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1195 41, -30, 16, -16, -20, 28, 0, 3, -26, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1196 -19, 0, -36, -4, -22, -12, 6, 9, 1, 24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1197 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1198 36, -18, 24, 3, -28, 7, -16, 13, 26, 41,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1199 24, -1, 5, -26, -3, -12, 27, 46, 27, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1200 -24, -34, -10, -8, 49, 2, 34, 0, -51, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1201 -17, -38, -25, 56, 0, 0, 22, -3, -20, -22,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1202 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1203 -32, 2, 47, 42, -7, -5, -21, 18, -9, 12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1204 5, 5, -2, -8, 10, 4, 14, 42, 38, -10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1205 -33, -49, -5, -24, 33, 12, 17, 35, -52, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1206 -38, -22, -7, 72, -7, -3, 0, -6, -25, -30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1207 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1208 -2, -11, 36, -9, -13, -17, -21, 6, 5, 45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1209 10, 36, 18, -33, -19, -19, 31, 44, 27, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1210 16, -34, 11, -22, 22, 4, 40, 7, -21, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1211 -1, -35, -36, 18, 10, 24, 46, 12, -34, -8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1212 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1213 -71, 9, 59, 29, 8, -30, -26, 11, -30, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1214 -8, 44, 9, -14, -5, -2, 19, 40, 38, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1215 7, -50, 17, -38, 7, 14, 24, 43, -22, 6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1216 -22, -19, -17, 34, 2, 20, 23, 10, -39, -16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1217 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1218 -8, -6, 33, 4, -7, -44, -18, 21, 23, 48,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1219 46, -24, -9, -40, -3, -1, 32, 13, 11, -43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1220 -7, -14, -3, -15, 26, -3, 21, -26, -50, -8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1221 0, -16, -27, 34, -25, -23, 43, -17, 6, -1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1222 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1223 -77, 13, 56, 43, 13, -57, -23, 26, -11, 19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1224 27, -16, -17, -22, 10, 15, 19, 10, 22, -43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1225 -16, -30, 2, -31, 11, 6, 5, 9, -52, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1226 -20, 0, -8, 50, -33, -27, 19, -19, 1, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1227 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1228 -47, 0, 45, -7, 7, -69, -23, 13, 2, 51,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1229 32, 14, 3, -47, -19, -8, 37, 11, 10, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1230 32, -15, 19, -29, 0, -1, 28, -18, -20, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1231 16, -13, -38, -3, -15, 0, 66, 0, -7, 13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1232 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1233 -116, 20, 68, 30, 28, -83, -28, 18, -32, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1234 13, 21, -5, -28, -5, 7, 24, 8, 22, -17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1235 23, -30, 25, -45, -15, 9, 11, 18, -22, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1236 -4, 2, -19, 12, -23, -3, 43, -2, -12, 4,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1237 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1238 72, -13, -29, -18, 4, 90, 37, -34, 4, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1239 13, -9, -6, 11, 2, 24, -13, 3, -7, -11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1240 -4, 4, -42, 25, 31, -1, -8, -29, -6, 17,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1241 -19, 2, -10, -6, 38, 22, -42, -19, -6, -11,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1242 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1243 3, 7, -6, 20, 25, 77, 32, -29, -31, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1244 -4, -2, -14, 29, 16, 40, -26, 0, 3, -12,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1245 -13, -10, -36, 9, 15, 8, -24, 6, -7, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1246 -40, 17, 8, 9, 31, 18, -66, -22, -11, -19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1247 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1248 32, -6, -17, -31, 19, 65, 33, -41, -16, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1249 0, 29, 6, 4, -13, 17, -9, 1, -8, 14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1250 35, 3, -19, 11, 4, 0, -1, -21, 23, 30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1251 -3, 5, -20, -44, 48, 46, -19, -3, -20, 3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1252 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1253 -36, 13, 5, 7, 40, 51, 28, -36, -52, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1254 -18, 36, -2, 22, 0, 33, -21, -2, 3, 13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1255 26, -11, -14, -4, -10, 10, -18, 14, 22, 36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1256 -24, 21, -1, -28, 40, 42, -42, -5, -25, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1257 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1258 27, -1, -20, -17, 24, 38, 35, -26, 1, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1259 35, -32, -21, -3, 2, 35, -8, -29, -24, -44,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1260 12, 24, -34, 18, 8, -7, -21, -55, -5, 21,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1261 -2, 23, -11, -28, 13, -1, -22, -33, 21, 10,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1262 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1263 -41, 18, 2, 21, 45, 24, 30, -21, -33, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1264 17, -24, -29, 15, 16, 51, -21, -33, -13, -45,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1265 3, 8, -28, 2, -7, 2, -37, -19, -7, 27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1266 -22, 39, 7, -12, 5, -5, -45, -35, 15, 1,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1267 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1268 -12, 4, -8, -29, 39, 12, 30, -33, -19, 8,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1269 21, 6, -8, -9, -13, 28, -4, -31, -24, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1270 52, 23, -12, 4, -18, -5, -14, -47, 24, 34,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1271 14, 27, -22, -66, 22, 22, 1, -16, 6, 24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1272 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1273 -81, 25, 14, 8, 61, 0, 25, -28, -54, -20,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1274 3, 14, -17, 8, 0, 44, -16, -35, -13, -18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1275 43, 7, -6, -11, -33, 4, -30, -11, 22, 40,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1276 -6, 43, -3, -50, 14, 18, -22, -18, 1, 16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1277 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1278 77, -2, -11, 1, -7, 47, 52, -5, 29, 33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1279 1, -28, 0, -15, 28, 26, 2, 30, 0, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1280 -22, 4, -33, -3, 36, -21, 3, -15, -2, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1281 -4, 4, 6, 9, 37, 31, -5, -32, -20, -30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1282 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1283 8, 17, 10, 40, 13, 34, 47, 0, -5, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1284 -16, -21, -8, 2, 42, 43, -10, 26, 10, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1285 -31, -11, -27, -19, 21, -10, -12, 20, -3, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1286 -25, 20, 25, 25, 29, 28, -28, -34, -25, -38,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1287 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1288 37, 3, 0, -10, 7, 22, 48, -12, 8, 36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1289 -12, 9, 12, -22, 12, 19, 6, 28, 0, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1290 18, 3, -11, -17, 10, -18, 10, -7, 27, 18,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1291 11, 7, -3, -28, 47, 55, 18, -15, -34, -16,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1292 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1293 -31, 24, 23, 27, 29, 9, 43, -8, -26, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1294 -30, 17, 4, -3, 26, 35, -5, 24, 10, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1295 9, -12, -5, -33, -5, -8, -5, 29, 26, 24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1296 -9, 23, 14, -12, 39, 52, -5, -18, -39, -24,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1297 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1298 32, 8, -3, 2, 13, -4, 50, 1, 27, 39,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1299 23, -51, -15, -30, 27, 37, 7, -1, -17, -29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1300 -5, 23, -25, -10, 14, -26, -8, -41, -1, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1301 13, 26, 5, -12, 12, 7, 14, -45, 6, -9,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1302 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1303 -36, 29, 19, 41, 34, -18, 45, 6, -8, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1304 5, -43, -23, -11, 42, 53, -5, -5, -6, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1305 -14, 8, -20, -26, -1, -16, -25, -4, -3, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1306 -7, 41, 23, 3, 4, 3, -8, -48, 1, -17,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1307 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1308 -7, 15, 9, -9, 28, -29, 45, -5, 6, 43,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1309 9, -12, -2, -36, 12, 30, 11, -3, -17, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1310 34, 22, -3, -24, -12, -24, -2, -32, 28, 22,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1311 29, 29, -5, -50, 21, 31, 38, -29, -7, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1312 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1313 -76, 35, 31, 28, 49, -43, 40, 0, -29, 14,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1314 -8, -5, -10, -18, 26, 46, 0, -7, -6, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1315 25, 7, 2, -40, -28, -14, -18, 3, 27, 28,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1316 8, 45, 13, -34, 13, 27, 15, -31, -12, -3,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1317 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1318 74, -17, 0, -31, -18, 73, -5, 0, 3, -5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1319 25, 12, -3, -1, -22, 3, -9, 33, -12, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1320 6, 2, -33, 9, 21, 5, 20, -27, -19, -7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1321 -34, -37, -34, 22, 44, 0, -41, -29, -17, -21,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1322 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1323 5, 3, 21, 7, 2, 60, -10, 5, -32, -34,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1324 7, 20, -11, 16, -8, 20, -21, 29, -1, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1325 -2, -13, -27, -6, 5, 15, 3, 8, -21, -1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1326 -55, -21, -15, 38, 37, -3, -65, -32, -23, -30,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1327 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1328 35, -10, 11, -44, -3, 48, -10, -6, -17, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1329 11, 51, 8, -8, -38, -3, -4, 31, -12, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1330 46, 1, -10, -4, -5, 7, 26, -19, 10, 5,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1331 -18, -34, -45, -15, 54, 24, -18, -13, -31, -7,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1332 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1333 -33, 10, 34, -5, 17, 35, -15, -1, -53, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1334 -6, 59, 0, 10, -24, 13, -17, 27, -1, 1,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1335 37, -13, -4, -20, -20, 18, 10, 16, 8, 11,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1336 -39, -18, -26, 0, 46, 20, -41, -15, -37, -15,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1337 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1338 29, -5, 7, -30, 1, 21, -7, 7, 0, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1339 47, -9, -18, -15, -22, 14, -4, 0, -28, -57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1340 23, 21, -25, 2, -1, 0, 7, -53, -19, -3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1341 -17, -15, -36, 0, 19, -24, -21, -43, 9, 0,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1342 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1343 -39, 14, 30, 8, 22, 8, -12, 12, -34, -27,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1344 29, -2, -26, 2, -8, 31, -16, -3, -17, -57,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1345 14, 6, -19, -13, -16, 10, -8, -17, -20, 2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1346 -38, 0, -17, 16, 11, -27, -44, -45, 4, -8,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1347 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1348 -9, 1, 20, -43, 17, -3, -12, 0, -20, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1349 33, 29, -6, -22, -38, 7, 0, -1, -29, -30,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1350 63, 21, -3, -11, -27, 1, 14, -45, 10, 9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1351 -1, -12, -47, -37, 28, 0, 2, -26, -4, 13,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1352 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1353 -78, 21, 43, -4, 38, -17, -17, 5, -55, -24,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1354 15, 36, -14, -4, -24, 24, -12, -5, -17, -31,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1355 54, 5, 2, -27, -43, 12, -2, -9, 9, 15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1356 -22, 3, -28, -21, 20, -3, -20, -28, -9, 5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1357 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1358 80, -6, 16, -11, -30, 30, 9, 28, 28, 29,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1359 13, -6, 2, -28, 3, 5, 7, 60, -5, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1360 -11, 1, -24, -19, 27, -13, 32, -13, -15, -19,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1361 -19, -35, -17, 39, 43, 9, -4, -42, -32, -41,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1362 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1363 11, 14, 39, 27, -9, 17, 4, 33, -6, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1364 -4, 1, -5, -10, 17, 22, -5, 57, 5, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1365 -20, -13, -18, -35, 11, -3, 16, 22, -17, -13,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1366 -40, -19, 1, 55, 35, 5, -27, -44, -37, -49,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1367 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1368 40, 0, 28, -24, -14, 5, 4, 21, 7, 33,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1369 0, 32, 15, -35, -12, -1, 11, 58, -5, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1370 28, 0, -1, -33, 0, -11, 39, -5, 14, -6,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1371 -3, -31, -28, 1, 53, 33, 19, -25, -46, -26,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1372 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1373 -28, 20, 51, 14, 6, -7, 0, 26, -27, 4,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1374 -18, 40, 6, -16, 1, 15, 0, 55, 5, 16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1375 19, -14, 3, -49, -14, -1, 22, 30, 12, 0,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1376 -24, -15, -9, 17, 45, 29, -4, -28, -51, -35,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1377 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1378 34, 4, 25, -10, -9, -21, 7, 36, 26, 36,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1379 35, -28, -12, -42, 3, 16, 12, 28, -21, -42,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1380 5, 21, -16, -26, 4, -19, 19, -39, -15, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1381 -1, -13, -19, 17, 17, -14, 15, -55, -4, -19,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1382 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1383 -34, 25, 48, 28, 11, -34, 2, 41, -9, 7,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1384 17, -21, -20, -24, 17, 33, 0, 24, -10, -42,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1385 -3, 5, -10, -42, -11, -8, 3, -3, -16, -9,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1386 -22, 2, 0, 33, 10, -18, -7, -58, -10, -28,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1387 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1388 -4, 11, 37, -23, 5, -46, 2, 29, 5, 39,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1389 21, 9, 0, -49, -12, 9, 16, 26, -22, -15,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1390 45, 20, 5, -40, -22, -17, 26, -31, 14, -2,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1391 14, -10, -30, -20, 27, 9, 39, -39, -18, -5,
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1392 }, {
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1393 -73, 32, 60, 15, 26, -59, -2, 33, -30, 10,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1394 3, 17, -8, -30, 1, 26, 4, 22, -10, -16,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1395 36, 5, 11, -56, -37, -6, 10, 5, 13, 3,
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1396 -6, 5, -11, -4, 19, 5, 16, -41, -24, -13
6835
179da35eba93 Make etable1 and etable2 tables instead of arrays.
vitor
parents: 6833
diff changeset
1397 }
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1398 };
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 1335
diff changeset
1399
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1400 const uint16_t cb1_base[128]={
7121
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1401 19657, 18474, 18365, 17520, 21048, 18231, 18584, 16671,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1402 20363, 19069, 19409, 18430, 21844, 18753, 19613, 17411,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1403 20389, 21772, 20129, 21702, 20978, 20472, 19627, 19387,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1404 21477, 23134, 21841, 23919, 22089, 21519, 21134, 20852,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1405 19675, 17821, 19044, 17477, 19986, 16955, 18446, 16086,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1406 21138, 18899, 20952, 18929, 21452, 17833, 20104, 17159,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1407 19770, 20056, 20336, 20866, 19329, 18217, 18908, 18004,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1408 21556, 21948, 23079, 23889, 20922, 19544, 20984, 19781,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1409 19781, 20984, 19544, 20922, 23889, 23079, 21948, 21556,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1410 18004, 18908, 18217, 19329, 20866, 20336, 20056, 19770,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1411 17159, 20104, 17833, 21452, 18929, 20952, 18899, 21138,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1412 16086, 18446, 16955, 19986, 17477, 19044, 17821, 19675,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1413 20852, 21134, 21519, 22089, 23919, 21841, 23134, 21477,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1414 19387, 19627, 20472, 20978, 21702, 20129, 21772, 20389,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1415 17411, 19613, 18753, 21844, 18430, 19409, 19069, 20363,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1416 16671, 18584, 18231, 21048, 17520, 18365, 18474, 19657,
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1417 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1418
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1419 const uint16_t cb2_base[128]={
7121
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1420 12174, 13380, 13879, 13832, 13170, 13227, 13204, 12053,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1421 12410, 13988, 14348, 14631, 13100, 13415, 13224, 12268,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1422 11982, 13825, 13499, 14210, 13877, 14788, 13811, 13109,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1423 11449, 13275, 12833, 13717, 12728, 13696, 12759, 12405,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1424 10230, 12185, 11628, 13161, 11762, 13458, 12312, 12818,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1425 10443, 12773, 12011, 14020, 11818, 13825, 12453, 13226,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1426 10446, 13162, 11881, 14300, 12859, 16288, 13490, 15053,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1427 10155, 12820, 11519, 13973, 12041, 15081, 12635, 14198,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1428 14198, 12635, 15081, 12041, 13973, 11519, 12820, 10155,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1429 15053, 13490, 16288, 12859, 14300, 11881, 13162, 10446,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1430 13226, 12453, 13825, 11818, 14020, 12011, 12773, 10443,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1431 12818, 12312, 13458, 11762, 13161, 11628, 12185, 10230,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1432 12405, 12759, 13696, 12728, 13717, 12833, 13275, 11449,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1433 13109, 13811, 14788, 13877, 14210, 13499, 13825, 11982,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1434 12268, 13224, 13415, 13100, 14631, 14348, 13988, 12410,
18d60d9b0895 Merge the >> 4 calculation of cb1_base in the table
vitor
parents: 7082
diff changeset
1435 12053, 13204, 13227, 13170, 13832, 13879, 13380, 12174,
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1436 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1437
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1438 const int16_t energy_tab[32]={
7126
decce608d0a9 Remove unused entries from energy_tab
vitor
parents: 7123
diff changeset
1439 0, 16, 20, 25, 32, 41, 51, 65,
decce608d0a9 Remove unused entries from energy_tab
vitor
parents: 7123
diff changeset
1440 81, 103, 129, 163, 205, 259, 326, 410,
decce608d0a9 Remove unused entries from energy_tab
vitor
parents: 7123
diff changeset
1441 516, 650, 819, 1031, 1298, 1634, 2057, 2590,
decce608d0a9 Remove unused entries from energy_tab
vitor
parents: 7123
diff changeset
1442 3261, 4105, 5168, 6507, 8192, 10313, 12983, 16345
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1443 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1444
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1445 static const int16_t lpc_refl_cb1[64]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1446 -4041, -4018, -3998, -3977, -3954, -3930, -3906, -3879,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1447 -3852, -3825, -3795, -3764, -3731, -3699, -3666, -3631,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1448 -3594, -3555, -3513, -3468, -3420, -3372, -3321, -3268,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1449 -3212, -3153, -3090, -3021, -2944, -2863, -2772, -2676,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1450 -2565, -2445, -2328, -2202, -2072, -1941, -1808, -1660,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1451 -1508, -1348, -1185, -994, -798, -600, -374, -110,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1452 152, 447, 720, 982, 1229, 1456, 1682, 1916,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1453 2130, 2353, 2595, 2853, 3118, 3363, 3588, 3814
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1454 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1455
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1456 static const int16_t lpc_refl_cb2[32]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1457 -3091, -2386, -1871, -1425, -1021, -649, -316, -20,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1458 267, 544, 810, 1065, 1305, 1534, 1756, 1970,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1459 2171, 2359, 2536, 2700, 2854, 2996, 3133, 3263,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1460 3386, 3499, 3603, 3701, 3789, 3870, 3947, 4020
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1461 };
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1462
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1463 static const int16_t lpc_refl_cb3[32]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1464 -3525, -3295, -3081, -2890, -2696, -2511, -2328, -2149,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1465 -1979, -1817, -1658, -1498, -1341, -1188, -1032, -876,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1466 -721, -561, -394, -228, -54, 119, 296, 484,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1467 683, 895, 1123, 1373, 1651, 1965, 2360, 2854
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1468 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1469
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1470 static const int16_t lpc_refl_cb4[16]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1471 -1845, -1057, -522, -77, 301, 647, 975, 1285,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1472 1582, 1873, 2163, 2452, 2735, 3017, 3299, 3569
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1473 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1474
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1475 static const int16_t lpc_refl_cb5[16]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1476 -2691, -2187, -1788, -1435, -1118, -837, -571, -316,
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1477 -59, 201, 470, 759, 1077, 1457, 1908, 2495
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1478 };
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1479
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1480 static const int16_t lpc_refl_cb6[8]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1481 -1372, -474, 133, 632, 1100, 1571, 2075, 2672
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1482 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1483
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1484 static const int16_t lpc_refl_cb7[8]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1485 -2389, -1787, -1231, -717, -239, 234, 770, 1474
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1486 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1487
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1488 static const int16_t lpc_refl_cb8[8]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1489 -1569, -864, -296, 200, 670, 1151, 1709, 2385
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1490 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1491
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1492 static const int16_t lpc_refl_cb9[8]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1493 -2200, -1608, -1062, -569, -120, 338, 863, 1621
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1494 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1495
7127
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1496 static const int16_t lpc_refl_cb10[4]={
8ab2d77fd502 Remove unused entries from lpc_refl_cb*
vitor
parents: 7126
diff changeset
1497 -617, 190, 802, 1483
6824
9d4bc7d7a6dc Convert ra144.h tables from hex to decimal
vitor
parents: 6802
diff changeset
1498 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1499
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1500 const int16_t * const lpc_refl_cb[10]={
7080
3cc0e7925700 10l: fix typo
vitor
parents: 7079
diff changeset
1501 lpc_refl_cb1, lpc_refl_cb2, lpc_refl_cb3, lpc_refl_cb4, lpc_refl_cb5,
7079
81038d88ac17 More table renaming
vitor
parents: 7078
diff changeset
1502 lpc_refl_cb6, lpc_refl_cb7, lpc_refl_cb8, lpc_refl_cb9, lpc_refl_cb10
6883
63fadff777e2 Yet more cosmetics
vitor
parents: 6865
diff changeset
1503 };
1335
b4a72edb3a71 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
al3x
parents:
diff changeset
1504
11865
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1505 void add_wav(int16_t *dest, int n, int skip_first, int *m, const int16_t *s1,
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1506 const int8_t *s2, const int8_t *s3)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1507 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1508 int i;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1509 int v[3];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1510
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1511 v[0] = 0;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1512 for (i=!skip_first; i<3; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1513 v[i] = (gain_val_tab[n][i] * m[i]) >> gain_exp_tab[n];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1514
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1515 if (v[0]) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1516 for (i=0; i < BLOCKSIZE; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1517 dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1518 } else {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1519 for (i=0; i < BLOCKSIZE; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1520 dest[i] = ( s2[i]*v[1] + s3[i]*v[2]) >> 12;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1521 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1522 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1523
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1524 /**
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1525 * Copy the last offset values of *source to *target. If those values are not
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1526 * enough to fill the target buffer, fill it with another copy of those values.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1527 */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1528 void copy_and_dup(int16_t *target, const int16_t *source, int offset)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1529 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1530 source += BUFFERSIZE - offset;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1531
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1532 memcpy(target, source, FFMIN(BLOCKSIZE, offset)*sizeof(*target));
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1533 if (offset < BLOCKSIZE)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1534 memcpy(target + offset, source, (BLOCKSIZE - offset)*sizeof(*target));
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1535 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1536
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1537 /**
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1538 * Evaluate the reflection coefficients from the filter coefficients.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1539 *
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1540 * @return 1 if one of the reflection coefficients is greater than
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1541 * 4095, 0 if not.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1542 */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1543 int eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1544 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1545 int b, i, j;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1546 int buffer1[10];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1547 int buffer2[10];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1548 int *bp1 = buffer1;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1549 int *bp2 = buffer2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1550
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1551 for (i=0; i < 10; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1552 buffer2[i] = coefs[i];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1553
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1554 refl[9] = bp2[9];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1555
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1556 if ((unsigned) bp2[9] + 0x1000 > 0x1fff) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1557 av_log(avctx, AV_LOG_ERROR, "Overflow. Broken sample?\n");
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1558 return 1;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1559 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1560
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1561 for (i=8; i >= 0; i--) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1562 b = 0x1000-((bp2[i+1] * bp2[i+1]) >> 12);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1563
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1564 if (!b)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1565 b = -2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1566
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1567 for (j=0; j <= i; j++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1568 bp1[j] = ((bp2[j] - ((refl[i+1] * bp2[i-j]) >> 12)) * (0x1000000 / b)) >> 12;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1569
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1570 if ((unsigned) bp1[i] + 0x1000 > 0x1fff)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1571 return 1;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1572
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1573 refl[i] = bp1[i];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1574
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1575 FFSWAP(int *, bp1, bp2);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1576 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1577 return 0;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1578 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1579
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1580 /**
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1581 * Evaluate the LPC filter coefficients from the reflection coefficients.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1582 * Does the inverse of the eval_refl() function.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1583 */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1584 void eval_coefs(int *coefs, const int *refl)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1585 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1586 int buffer[10];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1587 int *b1 = buffer;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1588 int *b2 = coefs;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1589 int i, j;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1590
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1591 for (i=0; i < 10; i++) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1592 b1[i] = refl[i] << 4;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1593
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1594 for (j=0; j < i; j++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1595 b1[j] = ((refl[i] * b2[i-j-1]) >> 12) + b2[j];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1596
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1597 FFSWAP(int *, b1, b2);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1598 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1599
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1600 for (i=0; i < 10; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1601 coefs[i] >>= 4;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1602 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1603
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1604 void int_to_int16(int16_t *out, const int *inp)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1605 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1606 int i;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1607
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1608 for (i=0; i < 10; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1609 *out++ = *inp++;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1610 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1611
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1612 /**
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1613 * Evaluate sqrt(x << 24). x must fit in 20 bits. This value is evaluated in an
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1614 * odd way to make the output identical to the binary decoder.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1615 */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1616 int t_sqrt(unsigned int x)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1617 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1618 int s = 2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1619 while (x > 0xfff) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1620 s++;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1621 x >>= 2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1622 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1623
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1624 return ff_sqrt(x << 20) << s;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1625 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1626
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1627 unsigned int rms(const int *data)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1628 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1629 int i;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1630 unsigned int res = 0x10000;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1631 int b = 10;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1632
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1633 for (i=0; i < 10; i++) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1634 res = (((0x1000000 - data[i]*data[i]) >> 12) * res) >> 12;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1635
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1636 if (res == 0)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1637 return 0;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1638
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1639 while (res <= 0x3fff) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1640 b++;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1641 res <<= 2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1642 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1643 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1644
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1645 return t_sqrt(res) >> b;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1646 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1647
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1648 int interp(RA144Context *ractx, int16_t *out, int a, int copyold, int energy)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1649 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1650 int work[10];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1651 int b = NBLOCKS - a;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1652 int i;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1653
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1654 // Interpolate block coefficients from the this frame's forth block and
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1655 // last frame's forth block.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1656 for (i=0; i<10; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1657 out[i] = (a * ractx->lpc_coef[0][i] + b * ractx->lpc_coef[1][i])>> 2;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1658
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1659 if (eval_refl(work, out, ractx->avctx)) {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1660 // The interpolated coefficients are unstable, copy either new or old
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1661 // coefficients.
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1662 int_to_int16(out, ractx->lpc_coef[copyold]);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1663 return rescale_rms(ractx->lpc_refl_rms[copyold], energy);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1664 } else {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1665 return rescale_rms(rms(work), energy);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1666 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1667 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1668
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1669 unsigned int rescale_rms(unsigned int rms, unsigned int energy)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1670 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1671 return (rms * energy) >> 10;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1672 }
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1673
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1674 /** inverse root mean square */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1675 int irms(const int16_t *data)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1676 {
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1677 unsigned int i, sum = 0;
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1678
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1679 for (i=0; i < BLOCKSIZE; i++)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1680 sum += data[i] * data[i];
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1681
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1682 if (sum == 0)
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1683 return 0; /* OOPS - division by zero */
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1684
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1685 return 0x20000000 / (t_sqrt(sum) >> 8);
6111134a3d94 Split ra144.c in common code (to be shared with the future encoder) and
vitor
parents: 7835
diff changeset
1686 }