diff options
author | Sean Bartell <wingedtachikoma@gmail.com> | 2011-06-25 21:32:25 -0400 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-04-25 22:13:20 +0200 |
commit | f40bfc9267b13b54e6379dfe7539447662879d24 (patch) | |
tree | 9b20069d5e62809ff434061ad730096836f916f2 /lib/rbcodec/codecs/libspeex/exc_5_256_table.c | |
parent | a0009907de7a0107d49040d8a180f140e2eff299 (diff) | |
download | rockbox-f40bfc9267b13b54e6379dfe7539447662879d24.tar.gz rockbox-f40bfc9267b13b54e6379dfe7539447662879d24.zip |
Add codecs to librbcodec.
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97
Reviewed-on: http://gerrit.rockbox.org/137
Reviewed-by: Nils Wallménius <nils@rockbox.org>
Tested-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'lib/rbcodec/codecs/libspeex/exc_5_256_table.c')
-rw-r--r-- | lib/rbcodec/codecs/libspeex/exc_5_256_table.c | 291 |
1 files changed, 291 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libspeex/exc_5_256_table.c b/lib/rbcodec/codecs/libspeex/exc_5_256_table.c new file mode 100644 index 0000000000..1a32057956 --- /dev/null +++ b/lib/rbcodec/codecs/libspeex/exc_5_256_table.c | |||
@@ -0,0 +1,291 @@ | |||
1 | /* Copyright (C) 2002 Jean-Marc Valin | ||
2 | File: exc_5_256_table.c | ||
3 | Codebook for excitation in narrowband CELP mode (12800 bps) | ||
4 | |||
5 | Redistribution and use in source and binary forms, with or without | ||
6 | modification, are permitted provided that the following conditions | ||
7 | are met: | ||
8 | |||
9 | - Redistributions of source code must retain the above copyright | ||
10 | notice, this list of conditions and the following disclaimer. | ||
11 | |||
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. | ||
15 | |||
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. | ||
19 | |||
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. | ||
31 | */ | ||
32 | |||
33 | #include "config-speex.h" | ||
34 | |||
35 | const signed char exc_5_256_table[1280] EXC_ICONST_ATTR = { | ||
36 | -8,-37,5,-43,5, | ||
37 | 73,61,39,12,-3, | ||
38 | -61,-32,2,42,30, | ||
39 | -3,17,-27,9,34, | ||
40 | 20,-1,-5,2,23, | ||
41 | -7,-46,26,53,-47, | ||
42 | 20,-2,-33,-89,-51, | ||
43 | -64,27,11,15,-34, | ||
44 | -5,-56,25,-9,-1, | ||
45 | -29,1,40,67,-23, | ||
46 | -16,16,33,19,7, | ||
47 | 14,85,22,-10,-10, | ||
48 | -12,-7,-1,52,89, | ||
49 | 29,11,-20,-37,-46, | ||
50 | -15,17,-24,-28,24, | ||
51 | 2,1,0,23,-101, | ||
52 | 23,14,-1,-23,-18, | ||
53 | 9,5,-13,38,1, | ||
54 | -28,-28,4,27,51, | ||
55 | -26,34,-40,35,47, | ||
56 | 54,38,-54,-26,-6, | ||
57 | 42,-25,13,-30,-36, | ||
58 | 18,41,-4,-33,23, | ||
59 | -32,-7,-4,51,-3, | ||
60 | 17,-52,56,-47,36, | ||
61 | -2,-21,36,10,8, | ||
62 | -33,31,19,9,-5, | ||
63 | -40,10,-9,-21,19, | ||
64 | 18,-78,-18,-5,0, | ||
65 | -26,-36,-47,-51,-44, | ||
66 | 18,40,27,-2,29, | ||
67 | 49,-26,2,32,-54, | ||
68 | 30,-73,54,3,-5, | ||
69 | 36,22,53,10,-1, | ||
70 | -84,-53,-29,-5,3, | ||
71 | -44,53,-51,4,22, | ||
72 | 71,-35,-1,33,-5, | ||
73 | -27,-7,36,17,-23, | ||
74 | -39,16,-9,-55,-15, | ||
75 | -20,39,-35,6,-39, | ||
76 | -14,18,48,-64,-17, | ||
77 | -15,9,39,81,37, | ||
78 | -68,37,47,-21,-6, | ||
79 | -104,13,6,9,-2, | ||
80 | 35,8,-23,18,42, | ||
81 | 45,21,33,-5,-49, | ||
82 | 9,-6,-43,-56,39, | ||
83 | 2,-16,-25,87,1, | ||
84 | -3,-9,17,-25,-11, | ||
85 | -9,-1,10,2,-14, | ||
86 | -14,4,-1,-10,28, | ||
87 | -23,40,-32,26,-9, | ||
88 | 26,4,-27,-23,3, | ||
89 | 42,-60,1,49,-3, | ||
90 | 27,10,-52,-40,-2, | ||
91 | 18,45,-23,17,-44, | ||
92 | 3,-3,17,-46,52, | ||
93 | -40,-47,25,75,31, | ||
94 | -49,53,30,-30,-32, | ||
95 | -36,38,-6,-15,-16, | ||
96 | 54,-27,-48,3,38, | ||
97 | -29,-32,-22,-14,-4, | ||
98 | -23,-13,32,-39,9, | ||
99 | 8,-45,-13,34,-16, | ||
100 | 49,40,32,31,28, | ||
101 | 23,23,32,47,59, | ||
102 | -68,8,62,44,25, | ||
103 | -14,-24,-65,-16,36, | ||
104 | 67,-25,-38,-21,4, | ||
105 | -33,-2,42,5,-63, | ||
106 | 40,11,26,-42,-23, | ||
107 | -61,79,-31,23,-20, | ||
108 | 10,-32,53,-25,-36, | ||
109 | 10,-26,-5,3,0, | ||
110 | -71,5,-10,-37,1, | ||
111 | -24,21,-54,-17,1, | ||
112 | -29,-25,-15,-27,32, | ||
113 | 68,45,-16,-37,-18, | ||
114 | -5,1,0,-77,71, | ||
115 | -6,3,-20,71,-67, | ||
116 | 29,-35,10,-30,19, | ||
117 | 4,16,17,5,0, | ||
118 | -14,19,2,28,26, | ||
119 | 59,3,2,24,39, | ||
120 | 55,-50,-45,-18,-17, | ||
121 | 33,-35,14,-1,1, | ||
122 | 8,87,-35,-29,0, | ||
123 | -27,13,-7,23,-13, | ||
124 | 37,-40,50,-35,14, | ||
125 | 19,-7,-14,49,54, | ||
126 | -5,22,-2,-29,-8, | ||
127 | -27,38,13,27,48, | ||
128 | 12,-41,-21,-15,28, | ||
129 | 7,-16,-24,-19,-20, | ||
130 | 11,-20,9,2,13, | ||
131 | 23,-20,11,27,-27, | ||
132 | 71,-69,8,2,-6, | ||
133 | 22,12,16,16,9, | ||
134 | -16,-8,-17,1,25, | ||
135 | 1,40,-37,-33,66, | ||
136 | 94,53,4,-22,-25, | ||
137 | -41,-42,25,35,-16, | ||
138 | -15,57,31,-29,-32, | ||
139 | 21,16,-60,45,15, | ||
140 | -1,7,57,-26,-47, | ||
141 | -29,11,8,15,19, | ||
142 | -105,-8,54,27,10, | ||
143 | -17,6,-12,-1,-10, | ||
144 | 4,0,23,-10,31, | ||
145 | 13,11,10,12,-64, | ||
146 | 23,-3,-8,-19,16, | ||
147 | 52,24,-40,16,10, | ||
148 | 40,5,9,0,-13, | ||
149 | -7,-21,-8,-6,-7, | ||
150 | -21,59,16,-53,18, | ||
151 | -60,11,-47,14,-18, | ||
152 | 25,-13,-24,4,-39, | ||
153 | 16,-28,54,26,-67, | ||
154 | 30,27,-20,-52,20, | ||
155 | -12,55,12,18,-16, | ||
156 | 39,-14,-6,-26,56, | ||
157 | -88,-55,12,25,26, | ||
158 | -37,6,75,0,-34, | ||
159 | -81,54,-30,1,-7, | ||
160 | 49,-23,-14,21,10, | ||
161 | -62,-58,-57,-47,-34, | ||
162 | 15,-4,34,-78,31, | ||
163 | 25,-11,7,50,-10, | ||
164 | 42,-63,14,-36,-4, | ||
165 | 57,55,57,53,42, | ||
166 | -42,-1,15,40,37, | ||
167 | 15,25,-11,6,1, | ||
168 | 31,-2,-6,-1,-7, | ||
169 | -64,34,28,30,-1, | ||
170 | 3,21,0,-88,-12, | ||
171 | -56,25,-28,40,8, | ||
172 | -28,-14,9,12,2, | ||
173 | -6,-17,22,49,-6, | ||
174 | -26,14,28,-20,4, | ||
175 | -12,50,35,40,13, | ||
176 | -38,-58,-29,17,30, | ||
177 | 22,60,26,-54,-39, | ||
178 | -12,58,-28,-63,10, | ||
179 | -21,-8,-12,26,-62, | ||
180 | 6,-10,-11,-22,-6, | ||
181 | -7,4,1,18,2, | ||
182 | -70,11,14,4,13, | ||
183 | 19,-24,-34,24,67, | ||
184 | 17,51,-21,13,23, | ||
185 | 54,-30,48,1,-13, | ||
186 | 80,26,-16,-2,13, | ||
187 | -4,6,-30,29,-24, | ||
188 | 73,-58,30,-27,20, | ||
189 | -2,-21,41,45,30, | ||
190 | -27,-3,-5,-18,-20, | ||
191 | -49,-3,-35,10,42, | ||
192 | -19,-67,-53,-11,9, | ||
193 | 13,-15,-33,-51,-30, | ||
194 | 15,7,25,-30,4, | ||
195 | 28,-22,-34,54,-29, | ||
196 | 39,-46,20,16,34, | ||
197 | -4,47,75,1,-44, | ||
198 | -55,-24,7,-1,9, | ||
199 | -42,50,-8,-36,41, | ||
200 | 68,0,-4,-10,-23, | ||
201 | -15,-50,64,36,-9, | ||
202 | -27,12,25,-38,-47, | ||
203 | -37,32,-49,51,-36, | ||
204 | 2,-4,69,-26,19, | ||
205 | 7,45,67,46,13, | ||
206 | -63,46,15,-47,4, | ||
207 | -41,13,-6,5,-21, | ||
208 | 37,26,-55,-7,33, | ||
209 | -1,-28,10,-17,-64, | ||
210 | -14,0,-36,-17,93, | ||
211 | -3,-9,-66,44,-21, | ||
212 | 3,-12,38,-6,-13, | ||
213 | -12,19,13,43,-43, | ||
214 | -10,-12,6,-5,9, | ||
215 | -49,32,-5,2,4, | ||
216 | 5,15,-16,10,-21, | ||
217 | 8,-62,-8,64,8, | ||
218 | 79,-1,-66,-49,-18, | ||
219 | 5,40,-5,-30,-45, | ||
220 | 1,-6,21,-32,93, | ||
221 | -18,-30,-21,32,21, | ||
222 | -18,22,8,5,-41, | ||
223 | -54,80,22,-10,-7, | ||
224 | -8,-23,-64,66,56, | ||
225 | -14,-30,-41,-46,-14, | ||
226 | -29,-37,27,-14,42, | ||
227 | -2,-9,-29,34,14, | ||
228 | 33,-14,22,4,10, | ||
229 | 26,26,28,32,23, | ||
230 | -72,-32,3,0,-14, | ||
231 | 35,-42,-78,-32,6, | ||
232 | 29,-18,-45,-5,7, | ||
233 | -33,-45,-3,-22,-34, | ||
234 | 8,-8,4,-51,-25, | ||
235 | -9,59,-78,21,-5, | ||
236 | -25,-48,66,-15,-17, | ||
237 | -24,-49,-13,25,-23, | ||
238 | -64,-6,40,-24,-19, | ||
239 | -11,57,-33,-8,1, | ||
240 | 10,-52,-54,28,39, | ||
241 | 49,34,-11,-61,-41, | ||
242 | -43,10,15,-15,51, | ||
243 | 30,15,-51,32,-34, | ||
244 | -2,-34,14,18,16, | ||
245 | 1,1,-3,-3,1, | ||
246 | 1,-18,6,16,48, | ||
247 | 12,-5,-42,7,36, | ||
248 | 48,7,-20,-10,7, | ||
249 | 12,2,54,39,-38, | ||
250 | 37,54,4,-11,-8, | ||
251 | -46,-10,5,-10,-34, | ||
252 | 46,-12,29,-37,39, | ||
253 | 36,-11,24,56,17, | ||
254 | 14,20,25,0,-25, | ||
255 | -28,55,-7,-5,27, | ||
256 | 3,9,-26,-8,6, | ||
257 | -24,-10,-30,-31,-34, | ||
258 | 18,4,22,21,40, | ||
259 | -1,-29,-37,-8,-21, | ||
260 | 92,-29,11,-3,11, | ||
261 | 73,23,22,7,4, | ||
262 | -44,-9,-11,21,-13, | ||
263 | 11,9,-78,-1,47, | ||
264 | 114,-12,-37,-19,-5, | ||
265 | -11,-22,19,12,-30, | ||
266 | 7,38,45,-21,-8, | ||
267 | -9,55,-45,56,-21, | ||
268 | 7,17,46,-57,-87, | ||
269 | -6,27,31,31,7, | ||
270 | -56,-12,46,21,-5, | ||
271 | -12,36,3,3,-21, | ||
272 | 43,19,12,-7,9, | ||
273 | -14,0,-9,-33,-91, | ||
274 | 7,26,3,-11,64, | ||
275 | 83,-31,-46,25,2, | ||
276 | 9,5,2,2,-1, | ||
277 | 20,-17,10,-5,-27, | ||
278 | -8,20,8,-19,16, | ||
279 | -21,-13,-31,5,5, | ||
280 | 42,24,9,34,-20, | ||
281 | 28,-61,22,11,-39, | ||
282 | 64,-20,-1,-30,-9, | ||
283 | -20,24,-25,-24,-29, | ||
284 | 22,-60,6,-5,41, | ||
285 | -9,-87,14,34,15, | ||
286 | -57,52,69,15,-3, | ||
287 | -102,58,16,3,6, | ||
288 | 60,-75,-32,26,7, | ||
289 | -57,-27,-32,-24,-21, | ||
290 | -29,-16,62,-46,31, | ||
291 | 30,-27,-15,7,15}; | ||