diff options
Diffstat (limited to 'lib/rbcodec/codecs/libspeex/exc_8_128_table.c')
-rw-r--r-- | lib/rbcodec/codecs/libspeex/exc_8_128_table.c | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libspeex/exc_8_128_table.c b/lib/rbcodec/codecs/libspeex/exc_8_128_table.c new file mode 100644 index 0000000000..02a58e052c --- /dev/null +++ b/lib/rbcodec/codecs/libspeex/exc_8_128_table.c | |||
@@ -0,0 +1,163 @@ | |||
1 | /* Copyright (C) 2002 Jean-Marc Valin | ||
2 | File: exc_8_128_table.c | ||
3 | Codebook for excitation in narrowband CELP mode (7000 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_8_128_table[1024] EXC_ICONST_ATTR = { | ||
36 | -14,9,13,-32,2,-10,31,-10, | ||
37 | -8,-8,6,-4,-1,10,-64,23, | ||
38 | 6,20,13,6,8,-22,16,34, | ||
39 | 7,42,-49,-28,5,26,4,-15, | ||
40 | 41,34,41,32,33,24,23,14, | ||
41 | 8,40,34,4,-24,-41,-19,-15, | ||
42 | 13,-13,33,-54,24,27,-44,33, | ||
43 | 27,-15,-15,24,-19,14,-36,14, | ||
44 | -9,24,-12,-4,37,-5,16,-34, | ||
45 | 5,10,33,-15,-54,-16,12,25, | ||
46 | 12,1,2,0,3,-1,-4,-4, | ||
47 | 11,2,-56,54,27,-20,13,-6, | ||
48 | -46,-41,-33,-11,-5,7,12,14, | ||
49 | -14,-5,8,20,6,3,4,-8, | ||
50 | -5,-42,11,8,-14,25,-2,2, | ||
51 | 13,11,-22,39,-9,9,5,-45, | ||
52 | -9,7,-9,12,-7,34,-17,-102, | ||
53 | 7,2,-42,18,35,-9,-34,11, | ||
54 | -5,-2,3,22,46,-52,-25,-9, | ||
55 | -94,8,11,-5,-5,-5,4,-7, | ||
56 | -35,-7,54,5,-32,3,24,-9, | ||
57 | -22,8,65,37,-1,-12,-23,-6, | ||
58 | -9,-28,55,-33,14,-3,2,18, | ||
59 | -60,41,-17,8,-16,17,-11,0, | ||
60 | -11,29,-28,37,9,-53,33,-14, | ||
61 | -9,7,-25,-7,-11,26,-32,-8, | ||
62 | 24,-21,22,-19,19,-10,29,-14, | ||
63 | 0,0,0,0,0,0,0,0, | ||
64 | -5,-52,10,41,6,-30,-4,16, | ||
65 | 32,22,-27,-22,32,-3,-28,-3, | ||
66 | 3,-35,6,17,23,21,8,2, | ||
67 | 4,-45,-17,14,23,-4,-31,-11, | ||
68 | -3,14,1,19,-11,2,61,-8, | ||
69 | 9,-12,7,-10,12,-3,-24,99, | ||
70 | -48,23,50,-37,-5,-23,0,8, | ||
71 | -14,35,-64,-5,46,-25,13,-1, | ||
72 | -49,-19,-15,9,34,50,25,11, | ||
73 | -6,-9,-16,-20,-32,-33,-32,-27, | ||
74 | 10,-8,12,-15,56,-14,-32,33, | ||
75 | 3,-9,1,65,-9,-9,-10,-2, | ||
76 | -6,-23,9,17,3,-28,13,-32, | ||
77 | 4,-2,-10,4,-16,76,12,-52, | ||
78 | 6,13,33,-6,4,-14,-9,-3, | ||
79 | 1,-15,-16,28,1,-15,11,16, | ||
80 | 9,4,-21,-37,-40,-6,22,12, | ||
81 | -15,-23,-14,-17,-16,-9,-10,-9, | ||
82 | 13,-39,41,5,-9,16,-38,25, | ||
83 | 46,-47,4,49,-14,17,-2,6, | ||
84 | 18,5,-6,-33,-22,44,50,-2, | ||
85 | 1,3,-6,7,7,-3,-21,38, | ||
86 | -18,34,-14,-41,60,-13,6,16, | ||
87 | -24,35,19,-13,-36,24,3,-17, | ||
88 | -14,-10,36,44,-44,-29,-3,3, | ||
89 | -54,-8,12,55,26,4,-2,-5, | ||
90 | 2,-11,22,-23,2,22,1,-25, | ||
91 | -39,66,-49,21,-8,-2,10,-14, | ||
92 | -60,25,6,10,27,-25,16,5, | ||
93 | -2,-9,26,-13,-20,58,-2,7, | ||
94 | 52,-9,2,5,-4,-15,23,-1, | ||
95 | -38,23,8,27,-6,0,-27,-7, | ||
96 | 39,-10,-14,26,11,-45,-12,9, | ||
97 | -5,34,4,-35,10,43,-22,-11, | ||
98 | 56,-7,20,1,10,1,-26,9, | ||
99 | 94,11,-27,-14,-13,1,-11,0, | ||
100 | 14,-5,-6,-10,-4,-15,-8,-41, | ||
101 | 21,-5,1,-28,-8,22,-9,33, | ||
102 | -23,-4,-4,-12,39,4,-7,3, | ||
103 | -60,80,8,-17,2,-6,12,-5, | ||
104 | 1,9,15,27,31,30,27,23, | ||
105 | 61,47,26,10,-5,-8,-12,-13, | ||
106 | 5,-18,25,-15,-4,-15,-11,12, | ||
107 | -2,-2,-16,-2,-6,24,12,11, | ||
108 | -4,9,1,-9,14,-45,57,12, | ||
109 | 20,-35,26,11,-64,32,-10,-10, | ||
110 | 42,-4,-9,-16,32,24,7,10, | ||
111 | 52,-11,-57,29,0,8,0,-6, | ||
112 | 17,-17,-56,-40,7,20,18,12, | ||
113 | -6,16,5,7,-1,9,1,10, | ||
114 | 29,12,16,13,-2,23,7,9, | ||
115 | -3,-4,-5,18,-64,13,55,-25, | ||
116 | 9,-9,24,14,-25,15,-11,-40, | ||
117 | -30,37,1,-19,22,-5,-31,13, | ||
118 | -2,0,7,-4,16,-67,12,66, | ||
119 | -36,24,-8,18,-15,-23,19,0, | ||
120 | -45,-7,4,3,-13,13,35,5, | ||
121 | 13,33,10,27,23,0,-7,-11, | ||
122 | 43,-74,36,-12,2,5,-8,6, | ||
123 | -33,11,-16,-14,-5,-7,-3,17, | ||
124 | -34,27,-16,11,-9,15,33,-31, | ||
125 | 8,-16,7,-6,-7,63,-55,-17, | ||
126 | 11,-1,20,-46,34,-30,6,9, | ||
127 | 19,28,-9,5,-24,-8,-23,-2, | ||
128 | 31,-19,-16,-5,-15,-18,0,26, | ||
129 | 18,37,-5,-15,-2,17,5,-27, | ||
130 | 21,-33,44,12,-27,-9,17,11, | ||
131 | 25,-21,-31,-7,13,33,-8,-25, | ||
132 | -7,7,-10,4,-6,-9,48,-82, | ||
133 | -23,-8,6,11,-23,3,-3,49, | ||
134 | -29,25,31,4,14,16,9,-4, | ||
135 | -18,10,-26,3,5,-44,-9,9, | ||
136 | -47,-55,15,9,28,1,4,-3, | ||
137 | 46,6,-6,-38,-29,-31,-15,-6, | ||
138 | 3,0,14,-6,8,-54,-50,33, | ||
139 | -5,1,-14,33,-48,26,-4,-5, | ||
140 | -3,-5,-3,-5,-28,-22,77,55, | ||
141 | -1,2,10,10,-9,-14,-66,-49, | ||
142 | 11,-36,-6,-20,10,-10,16,12, | ||
143 | 4,-1,-16,45,-44,-50,31,-2, | ||
144 | 25,42,23,-32,-22,0,11,20, | ||
145 | -40,-35,-40,-36,-32,-26,-21,-13, | ||
146 | 52,-22,6,-24,-20,17,-5,-8, | ||
147 | 36,-25,-11,21,-26,6,34,-8, | ||
148 | 7,20,-3,5,-25,-8,18,-5, | ||
149 | -9,-4,1,-9,20,20,39,48, | ||
150 | -24,9,5,-65,22,29,4,3, | ||
151 | -43,-11,32,-6,9,19,-27,-10, | ||
152 | -47,-14,24,10,-7,-36,-7,-1, | ||
153 | -4,-5,-5,16,53,25,-26,-29, | ||
154 | -4,-12,45,-58,-34,33,-5,2, | ||
155 | -1,27,-48,31,-15,22,-5,4, | ||
156 | 7,7,-25,-3,11,-22,16,-12, | ||
157 | 8,-3,7,-11,45,14,-73,-19, | ||
158 | 56,-46,24,-20,28,-12,-2,-1, | ||
159 | -36,-3,-33,19,-6,7,2,-15, | ||
160 | 5,-31,-45,8,35,13,20,0, | ||
161 | -9,48,-13,-43,-3,-13,2,-5, | ||
162 | 72,-68,-27,2,1,-2,-7,5, | ||
163 | 36,33,-40,-12,-4,-5,23,19}; | ||