1 /* Copyright (C) 2002 Jean-Marc Valin
2 File: exc_10_32_table.c
3 Codebook for excitation in narrowband CELP mode (4000 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.
33 #include "config-speex.h"
35 const signed char exc_10_32_table
[320] EXC_ICONST_ATTR
= {
36 7,17,17,27,25,22,12,4,-3,0,
37 28,-36,39,-24,-15,3,-9,15,-5,10,
38 31,-28,11,31,-21,9,-11,-11,-2,-7,
39 -25,14,-22,31,4,-14,19,-12,14,-5,
40 4,-7,4,-5,9,0,-2,42,-47,-16,
41 1,8,0,9,23,-57,0,28,-11,6,
42 -31,55,-45,3,-5,4,2,-2,4,-7,
43 -3,6,-2,7,-3,12,5,8,54,-10,
44 8,-7,-8,-24,-25,-27,-14,-5,8,5,
45 44,23,5,-9,-11,-11,-13,-9,-12,-8,
46 -29,-8,-22,6,-15,3,-12,-1,-5,-3,
47 34,-1,29,-16,17,-4,12,2,1,4,
48 -2,-4,2,-1,11,-3,-52,28,30,-9,
49 -32,25,44,-20,-24,4,6,-1,0,0,
50 0,0,0,0,0,0,0,0,0,0,
51 -25,-10,22,29,13,-13,-22,-13,-4,0,
52 -4,-16,10,15,-36,-24,28,25,-1,-3,
53 66,-33,-11,-15,6,0,3,4,-2,5,
54 24,-20,-47,29,19,-2,-4,-1,0,-1,
55 -2,3,1,8,-11,5,5,-57,28,28,
56 0,-16,4,-4,12,-6,-1,2,-20,61,
57 -9,24,-22,-42,29,6,17,8,4,2,
58 -65,15,8,10,5,6,5,3,2,-2,
59 -3,5,-9,4,-5,23,13,23,-3,-63,
60 3,-5,-4,-6,0,-3,23,-36,-46,9,
61 5,5,8,4,9,-5,1,-3,10,1,
62 -6,10,-11,24,-47,31,22,-12,14,-10,
63 6,11,-7,-7,7,-31,51,-12,-6,7,
64 6,-17,9,-11,-20,52,-19,3,-6,-6,
65 -8,-5,23,-41,37,1,-21,10,-14,8,
66 7,5,-15,-15,23,39,-26,-33,7,2,
67 -32,-30,-21,-8,4,12,17,15,14,11};