exc_10_32_table.c 4.58 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Copyright (C) 2002 Jean-Marc Valin 
   File: exc_10_32_table.c
   Codebook for excitation in narrowband CELP mode (4000 bps)
  
   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are
   met:

   1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.  

   2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

   3. The name of the author may not be used to endorse or promote products
   derived from this software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
*/

jmvalin's avatar
jmvalin committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
float exc_10_32_table[32][10]={
{0.222614,0.519906,0.537807,0.834900,0.768574,0.698440,0.362245,0.125146,-0.104380,0.003991},
{0.867091,-1.114772,1.210990,-0.744193,-0.478554,0.081265,-0.273419,0.480983,-0.147815,0.319687},
{0.983006,-0.881476,0.343687,0.965425,-0.641360,0.280279,-0.339666,-0.349123,-0.070611,-0.220298},
{-0.795489,0.441574,-0.674492,0.977338,0.118829,-0.449269,0.601377,-0.363410,0.431172,-0.171828},
{0.132466,-0.222414,0.121165,-0.156902,0.282957,0.015570,-0.074355,1.327889,-1.478003,-0.502083},
{0.025235,0.248915,-0.011890,0.286748,0.713845,-1.782006,-0.008702,0.881211,-0.329416,0.198051},
{-0.958368,1.733103,-1.402455,0.080580,-0.170500,0.118395,0.049854,-0.051642,0.129305,-0.227595},
{-0.094473,0.183241,-0.070073,0.225667,-0.079733,0.373938,0.168234,0.265017,1.679037,-0.325572},
{0.254587,-0.206706,-0.263872,-0.761719,-0.786256,-0.845135,-0.446708,-0.143573,0.244240,0.164994},
{1.366623,0.725273,0.149911,-0.291234,-0.332664,-0.329218,-0.395677,-0.288548,-0.375476,-0.249523},
{-0.907199,-0.261195,-0.679940,0.191020,-0.481865,0.096753,-0.362971,-0.024393,-0.161747,-0.108619},
{1.057318,-0.027304,0.915603,-0.509152,0.519639,-0.110496,0.388927,0.051398,0.033018,0.132582},
{-0.049141,-0.137637,0.061384,-0.022765,0.340992,-0.106803,-1.631081,0.865349,0.950185,-0.268698},
{-1.004759,0.780442,1.366369,-0.614946,-0.754159,0.127529,0.188085,-0.040931,0.008123,0.012819},
{-0.079061,0.215337,-0.137278,-0.123618,-0.218604,-0.191322,-0.276231,-0.066509,-0.321451,-0.213928},
{-0.768461,-0.327320,0.701414,0.896780,0.409488,-0.410814,-0.675160,-0.420661,-0.119706,-0.012850},
{-0.120626,-0.498542,0.318433,0.453289,-1.135028,-0.760364,0.877979,0.772727,-0.033744,-0.085209},
{2.061536,-1.026406,-0.351049,-0.474214,0.200347,0.004968,0.105561,0.113149,-0.071619,0.147569},
{0.741957,-0.619200,-1.478054,0.901890,0.595183,-0.050624,-0.139683,-0.044306,0.011491,-0.043994},
{-0.063578,0.094618,0.021315,0.255759,-0.355425,0.158380,0.168131,-1.776015,0.859523,0.889441},
{0.000153,-0.498223,0.137631,-0.113421,0.383822,-0.178743,-0.020550,0.053229,-0.629225,1.892103},
{-0.275320,0.753062,-0.693922,-1.327873,0.911359,0.184806,0.517060,0.247931,0.139503,0.048961},
{-2.039659,0.456796,0.264935,0.316707,0.156900,0.181944,0.152528,0.099029,0.053452,-0.076584},
{-0.103893,0.167002,-0.266384,0.123452,-0.148573,0.707334,0.409610,0.732516,-0.092144,-1.972234},
{0.085041,-0.153236,-0.134474,-0.175246,0.012377,-0.079804,0.705222,-1.122601,-1.439888,0.288656},
{0.150406,0.157781,0.257320,0.137059,0.274465,-0.162830,0.026549,-0.084041,0.298488,0.027517},
{-0.182249,0.319635,-0.350370,0.739379,-1.474439,0.969650,0.693391,-0.361626,0.443915,-0.321488},
{0.176029,0.347990,-0.206128,-0.228386,0.224059,-0.973617,1.600652,-0.388001,-0.179744,0.217642},
{0.179759,-0.518558,0.272426,-0.335904,-0.610544,1.624513,-0.601024,0.086539,-0.174046,-0.186019},
{-0.236881,-0.167430,0.729064,-1.279726,1.152136,0.031319,-0.669390,0.326712,-0.429779,0.251144},
{0.230600,0.147018,-0.468695,-0.482089,0.709099,1.209565,-0.802651,-1.024772,0.210781,0.047537},
{-1.007410,-0.923338,-0.662811,-0.258064,0.110833,0.362967,0.519989,0.469280,0.442281,0.340309}};