1
/* Copyright (C) 2002 Jean-Marc Valin
2
File: exc_8_128_table.c
3
Codebook for excitation in narrowband CELP mode (7000 bps)
5
Redistribution and use in source and binary forms, with or without
6
modification, are permitted provided that the following conditions
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.
34
const signed char exc_8_128_table[1024] = {
35
-14,9,13,-32,2,-10,31,-10,
36
-8,-8,6,-4,-1,10,-64,23,
37
6,20,13,6,8,-22,16,34,
38
7,42,-49,-28,5,26,4,-15,
39
41,34,41,32,33,24,23,14,
40
8,40,34,4,-24,-41,-19,-15,
41
13,-13,33,-54,24,27,-44,33,
42
27,-15,-15,24,-19,14,-36,14,
43
-9,24,-12,-4,37,-5,16,-34,
44
5,10,33,-15,-54,-16,12,25,
46
11,2,-56,54,27,-20,13,-6,
47
-46,-41,-33,-11,-5,7,12,14,
49
-5,-42,11,8,-14,25,-2,2,
50
13,11,-22,39,-9,9,5,-45,
51
-9,7,-9,12,-7,34,-17,-102,
52
7,2,-42,18,35,-9,-34,11,
53
-5,-2,3,22,46,-52,-25,-9,
54
-94,8,11,-5,-5,-5,4,-7,
55
-35,-7,54,5,-32,3,24,-9,
56
-22,8,65,37,-1,-12,-23,-6,
57
-9,-28,55,-33,14,-3,2,18,
58
-60,41,-17,8,-16,17,-11,0,
59
-11,29,-28,37,9,-53,33,-14,
60
-9,7,-25,-7,-11,26,-32,-8,
61
24,-21,22,-19,19,-10,29,-14,
63
-5,-52,10,41,6,-30,-4,16,
64
32,22,-27,-22,32,-3,-28,-3,
66
4,-45,-17,14,23,-4,-31,-11,
67
-3,14,1,19,-11,2,61,-8,
68
9,-12,7,-10,12,-3,-24,99,
69
-48,23,50,-37,-5,-23,0,8,
70
-14,35,-64,-5,46,-25,13,-1,
71
-49,-19,-15,9,34,50,25,11,
72
-6,-9,-16,-20,-32,-33,-32,-27,
73
10,-8,12,-15,56,-14,-32,33,
74
3,-9,1,65,-9,-9,-10,-2,
75
-6,-23,9,17,3,-28,13,-32,
76
4,-2,-10,4,-16,76,12,-52,
77
6,13,33,-6,4,-14,-9,-3,
78
1,-15,-16,28,1,-15,11,16,
79
9,4,-21,-37,-40,-6,22,12,
80
-15,-23,-14,-17,-16,-9,-10,-9,
81
13,-39,41,5,-9,16,-38,25,
82
46,-47,4,49,-14,17,-2,6,
83
18,5,-6,-33,-22,44,50,-2,
85
-18,34,-14,-41,60,-13,6,16,
86
-24,35,19,-13,-36,24,3,-17,
87
-14,-10,36,44,-44,-29,-3,3,
88
-54,-8,12,55,26,4,-2,-5,
89
2,-11,22,-23,2,22,1,-25,
90
-39,66,-49,21,-8,-2,10,-14,
91
-60,25,6,10,27,-25,16,5,
92
-2,-9,26,-13,-20,58,-2,7,
93
52,-9,2,5,-4,-15,23,-1,
94
-38,23,8,27,-6,0,-27,-7,
95
39,-10,-14,26,11,-45,-12,9,
96
-5,34,4,-35,10,43,-22,-11,
97
56,-7,20,1,10,1,-26,9,
98
94,11,-27,-14,-13,1,-11,0,
99
14,-5,-6,-10,-4,-15,-8,-41,
100
21,-5,1,-28,-8,22,-9,33,
101
-23,-4,-4,-12,39,4,-7,3,
102
-60,80,8,-17,2,-6,12,-5,
103
1,9,15,27,31,30,27,23,
104
61,47,26,10,-5,-8,-12,-13,
105
5,-18,25,-15,-4,-15,-11,12,
106
-2,-2,-16,-2,-6,24,12,11,
107
-4,9,1,-9,14,-45,57,12,
108
20,-35,26,11,-64,32,-10,-10,
109
42,-4,-9,-16,32,24,7,10,
110
52,-11,-57,29,0,8,0,-6,
111
17,-17,-56,-40,7,20,18,12,
113
29,12,16,13,-2,23,7,9,
114
-3,-4,-5,18,-64,13,55,-25,
115
9,-9,24,14,-25,15,-11,-40,
116
-30,37,1,-19,22,-5,-31,13,
117
-2,0,7,-4,16,-67,12,66,
118
-36,24,-8,18,-15,-23,19,0,
119
-45,-7,4,3,-13,13,35,5,
120
13,33,10,27,23,0,-7,-11,
121
43,-74,36,-12,2,5,-8,6,
122
-33,11,-16,-14,-5,-7,-3,17,
123
-34,27,-16,11,-9,15,33,-31,
124
8,-16,7,-6,-7,63,-55,-17,
125
11,-1,20,-46,34,-30,6,9,
126
19,28,-9,5,-24,-8,-23,-2,
127
31,-19,-16,-5,-15,-18,0,26,
128
18,37,-5,-15,-2,17,5,-27,
129
21,-33,44,12,-27,-9,17,11,
130
25,-21,-31,-7,13,33,-8,-25,
131
-7,7,-10,4,-6,-9,48,-82,
132
-23,-8,6,11,-23,3,-3,49,
133
-29,25,31,4,14,16,9,-4,
134
-18,10,-26,3,5,-44,-9,9,
135
-47,-55,15,9,28,1,4,-3,
136
46,6,-6,-38,-29,-31,-15,-6,
137
3,0,14,-6,8,-54,-50,33,
138
-5,1,-14,33,-48,26,-4,-5,
139
-3,-5,-3,-5,-28,-22,77,55,
140
-1,2,10,10,-9,-14,-66,-49,
141
11,-36,-6,-20,10,-10,16,12,
142
4,-1,-16,45,-44,-50,31,-2,
143
25,42,23,-32,-22,0,11,20,
144
-40,-35,-40,-36,-32,-26,-21,-13,
145
52,-22,6,-24,-20,17,-5,-8,
146
36,-25,-11,21,-26,6,34,-8,
147
7,20,-3,5,-25,-8,18,-5,
148
-9,-4,1,-9,20,20,39,48,
149
-24,9,5,-65,22,29,4,3,
150
-43,-11,32,-6,9,19,-27,-10,
151
-47,-14,24,10,-7,-36,-7,-1,
152
-4,-5,-5,16,53,25,-26,-29,
153
-4,-12,45,-58,-34,33,-5,2,
154
-1,27,-48,31,-15,22,-5,4,
155
7,7,-25,-3,11,-22,16,-12,
156
8,-3,7,-11,45,14,-73,-19,
157
56,-46,24,-20,28,-12,-2,-1,
158
-36,-3,-33,19,-6,7,2,-15,
159
5,-31,-45,8,35,13,20,0,
160
-9,48,-13,-43,-3,-13,2,-5,
161
72,-68,-27,2,1,-2,-7,5,
162
36,33,-40,-12,-4,-5,23,19};