FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / codecs / libspeex / hexc_table.c
blobd892abd18c1c98ac6570556eb0f7cc30b8d0593d
1 /* Copyright (C) 2002 Jean-Marc Valin
2 File: hexc_table.c
3 Codebook for high-band excitation in SB-CELP mode (8000 bps with sign)
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
9 - Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
12 - Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
16 - Neither the name of the Xiph.org Foundation nor the names of its
17 contributors may be used to endorse or promote products derived from
18 this software without specific prior written permission.
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
24 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 #include "config-speex.h"
35 const signed char hexc_table[1024] HEXC_ICONST_ATTR = {
36 -24, 21, -20, 5, -5, -7, 14, -10,
37 2, -27, 16, -20, 0, -32, 26, 19,
38 8, -11, -41, 31, 28, -27, -32, 34,
39 42, 34, -17, 22, -10, 13, -29, 18,
40 -12, -26, -24, 11, 22, 5, -5, -5,
41 54, -68, -43, 57, -25, 24, 4, 4,
42 26, -8, -12, -17, 54, 30, -45, 1,
43 10, -15, 18, -41, 11, 68, -67, 37,
44 -16, -24, -16, 38, -22, 6, -29, 30,
45 66, -27, 5, 7, -16, 13, 2, -12,
46 -7, -3, -20, 36, 4, -28, 9, 3,
47 32, 48, 26, 39, 3, 0, 7, -21,
48 -13, 5, -82, -7, 73, -20, 34, -9,
49 -5, 1, -1, 10, -5, -10, -1, 9,
50 1, -9, 10, 0, -14, 11, -1, -2,
51 -1, 11, 20, 96, -81, -22, -12, -9,
52 -58, 9, 24, -30, 26, -35, 27, -12,
53 13, -18, 56, -59, 15, -7, 23, -15,
54 -1, 6, -25, 14, -22, -20, 47, -11,
55 16, 2, 38, -23, -19, -30, -9, 40,
56 -11, 5, 4, -6, 8, 26, -21, -11,
57 127, 4, 1, 6, -9, 2, -7, -2,
58 -3, 7, -5, 10, -19, 7, -106, 91,
59 -3, 9, -4, 21, -8, 26, -80, 8,
60 1, -2, -10, -17, -17, -27, 32, 71,
61 6, -29, 11, -23, 54, -38, 29, -22,
62 39, 87, -31, -12, -20, 3, -2, -2,
63 2, 20, 0, -1, -35, 27, 9, -6,
64 -12, 3, -12, -6, 13, 1, 14, -22,
65 -59, -15, -17, -25, 13, -7, 7, 3,
66 0, 1, -7, 6, -3, 61, -37, -23,
67 -23, -29, 38, -31, 27, 1, -8, 2,
68 -27, 23, -26, 36, -34, 5, 24, -24,
69 -6, 7, 3, -59, 78, -62, 44, -16,
70 1, 6, 0, 17, 8, 45, 0, -110,
71 6, 14, -2, 32, -77, -56, 62, -3,
72 3, -13, 4, -16, 102, -15, -36, -1,
73 9, -113, 6, 23, 0, 9, 9, 5,
74 -8, -1, -14, 5, -12, 121, -53, -27,
75 -8, -9, 22, -13, 3, 2, -3, 1,
76 -2, -71, 95, 38, -19, 15, -16, -5,
77 71, 10, 2, -32, -13, -5, 15, -1,
78 -2, -14, -85, 30, 29, 6, 3, 2,
79 0, 0, 0, 0, 0, 0, 0, 0,
80 2, -65, -56, -9, 18, 18, 23, -14,
81 -2, 0, 12, -29, 26, -12, 1, 2,
82 -12, -64, 90, -6, 4, 1, 5, -5,
83 -110, -3, -31, 22, -29, 9, 0, 8,
84 -40, -5, 21, -5, -5, 13, 10, -18,
85 40, 1, 35, -20, 30, -28, 11, -6,
86 19, 7, 14, 18, -64, 9, -6, 16,
87 51, 68, 8, 16, 12, -8, 0, -9,
88 20, -22, 25, 7, -4, -13, 41, -35,
89 93, -18, -54, 11, -1, 1, -9, 4,
90 -66, 66, -31, 20, -22, 25, -23, 11,
91 10, 9, 19, 15, 11, -5, -31, -10,
92 -23, -28, -6, -6, -3, -4, 5, 3,
93 -28, 22, -11, -42, 25, -25, -16, 41,
94 34, 47, -6, 2, 42, -19, -22, 5,
95 -39, 32, 6, -35, 22, 17, -30, 8,
96 -26, -11, -11, 3, -12, 33, 33, -37,
97 21, -1, 6, -4, 3, 0, -5, 5,
98 12, -12, 57, 27, -61, -3, 20, -17,
99 2, 0, 4, 0, -2, -33, -58, 81,
100 -23, 39, -10, -5, 2, 6, -7, 5,
101 4, -3, -2, -13, -23, -72, 107, 15,
102 -5, 0, -7, -3, -6, 5, -4, 15,
103 47, 12, -31, 25, -16, 8, 22, -25,
104 -62, -56, -18, 14, 28, 12, 2, -11,
105 74, -66, 41, -20, -7, 16, -20, 16,
106 -8, 0, -16, 4, -19, 92, 12, -59,
107 -14, -39, 49, -25, -16, 23, -27, 19,
108 -3, -33, 19, 85, -29, 6, -7, -10,
109 16, -7, -12, 1, -6, 2, 4, -2,
110 64, 10, -25, 41, -2, -31, 15, 0,
111 110, 50, 69, 35, 28, 19, -10, 2,
112 -43, -49, -56, -15, -16, 10, 3, 12,
113 -1, -8, 1, 26, -12, -1, 7, -11,
114 -27, 41, 25, 1, -11, -18, 22, -7,
115 -1, -47, -8, 23, -3, -17, -7, 18,
116 -125, 59, -5, 3, 18, 1, 2, 3,
117 27, -35, 65, -53, 50, -46, 37, -21,
118 -28, 7, 14, -37, -5, -5, 12, 5,
119 -8, 78, -19, 21, -6, -16, 8, -7,
120 5, 2, 7, 2, 10, -6, 12, -60,
121 44, 11, -36, -32, 31, 0, 2, -2,
122 2, 1, -3, 7, -10, 17, -21, 10,
123 6, -2, 19, -2, 59, -38, -86, 38,
124 8, -41, -30, -45, -33, 7, 15, 28,
125 29, -7, 24, -40, 7, 7, 5, -2,
126 9, 24, -23, -18, 6, -29, 30, 2,
127 28, 49, -11, -46, 10, 43, -13, -9,
128 -1, -3, -7, -7, -17, -6, 97, -33,
129 -21, 3, 5, 1, 12, -43, -8, 28,
130 7, -43, -7, 17, -20, 19, -1, 2,
131 -13, 9, 54, 34, 9, -28, -11, -9,
132 -17, 110, -59, 44, -26, 0, 3, -12,
133 -47, 73, -34, -43, 38, -33, 16, -5,
134 -46, -4, -6, -2, -25, 19, -29, 28,
135 -13, 5, 14, 27, -40, -43, 4, 32,
136 -13, -2, -35, -4, 112, -42, 9, -12,
137 37, -28, 17, 14, -19, 35, -39, 23,
138 3, -14, -1, -57, -5, 94, -9, 3,
139 -39, 5, 30, -10, -32, 42, -13, -14,
140 -97, -63, 30, -9, 1, -7, 12, 5,
141 20, 17, -9, -36, -30, 25, 47, -9,
142 -15, 12, -22, 98, -8, -50, 15, -27,
143 21, -16, -11, 2, 12, -10, 10, -3,
144 33, 36, -96, 0, -17, 31, -9, 9,
145 3, -20, 13, -11, 8, -4, 10, -10,
146 9, 1, 112, -70, -27, 5, -21, 2,
147 -57, -3, -29, 10, 19, -21, 21, -10,
148 -66, -3, 91, -35, 30, -12, 0, -7,
149 59, -28, 26, 2, 14, -18, 1, 1,
150 11, 17, 20, -54, -59, 27, 4, 29,
151 32, 5, 19, 12, -4, 1, 7, -10,
152 5, -2, 10, 0, 23, -5, 28, -104,
153 46, 11, 16, 3, 29, 1, -8, -14,
154 1, 7, -50, 88, -62, 26, 8, -17,
155 -14, 50, 0, 32, -12, -3, -27, 18,
156 -8, -5, 8, 3, -20, -11, 37, -12,
157 9, 33, 46, -101, -1, -4, 1, 6,
158 -1, 28, -42, -15, 16, 5, -1, -2,
159 -55, 85, 38, -9, -4, 11, -2, -9,
160 -6, 3, -20, -10, -77, 89, 24, -3,
161 -104, -57, -26, -31, -20, -6, -9, 14,
162 20, -23, 46, -15, -31, 28, 1, -15,
163 -2, 6, -2, 31, 45, -76, 23, -25,