~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to speex/libspeex/gain_table.c

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2004-06-30 13:58:16 UTC
  • Revision ID: james.westby@ubuntu.com-20040630135816-wwx75gdlodkqbabb
Tags: upstream-0.12.2
ImportĀ upstreamĀ versionĀ 0.12.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2002 Jean-Marc Valin 
 
2
   File: gain_table.c
 
3
   Codebook for 3-tap pitch prediction gain (128 entries)
 
4
  
 
5
   Redistribution and use in source and binary forms, with or without
 
6
   modification, are permitted provided that the following conditions are
 
7
   met:
 
8
 
 
9
   1. Redistributions of source code must retain the above copyright notice,
 
10
   this list of conditions and the following disclaimer.  
 
11
 
 
12
   2. 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
   3. The name of the author may not be used to endorse or promote products
 
17
   derived from this software without specific prior written permission.
 
18
 
 
19
   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 
20
   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 
21
   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 
22
   DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
 
23
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 
24
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 
25
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 
26
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 
27
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
28
   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
29
   POSSIBILITY OF SUCH DAMAGE.
 
30
*/
 
31
 
 
32
const signed char gain_cdbk_nb[384] = {
 
33
-32,-32,-32,
 
34
-28,-67,-5,
 
35
-42,-6,-32,
 
36
-57,-10,-54,
 
37
-16,27,-41,
 
38
19,-19,-40,
 
39
-45,24,-21,
 
40
-8,-14,-18,
 
41
1,14,-58,
 
42
-18,-88,-39,
 
43
-38,21,-18,
 
44
-19,20,-43,
 
45
10,17,-48,
 
46
-52,-58,-13,
 
47
-44,-1,-11,
 
48
-12,-11,-34,
 
49
14,0,-46,
 
50
-37,-35,-34,
 
51
-25,44,-30,
 
52
6,-4,-63,
 
53
-31,43,-41,
 
54
-23,30,-43,
 
55
-43,26,-14,
 
56
-33,1,-13,
 
57
-13,18,-37,
 
58
-46,-73,-45,
 
59
-36,24,-25,
 
60
-36,-11,-20,
 
61
-25,12,-18,
 
62
-36,-69,-59,
 
63
-45,6,8,
 
64
-22,-14,-24,
 
65
-1,13,-44,
 
66
-39,-48,-26,
 
67
-32,31,-37,
 
68
-33,15,-46,
 
69
-24,30,-36,
 
70
-41,31,-23,
 
71
-50,22,-4,
 
72
-22,2,-21,
 
73
-17,30,-34,
 
74
-7,-60,-28,
 
75
-38,42,-28,
 
76
-44,-11,21,
 
77
-16,8,-44,
 
78
-39,-55,-43,
 
79
-11,-35,26,
 
80
-9,0,-34,
 
81
-8,121,-81,
 
82
7,-16,-22,
 
83
-37,33,-31,
 
84
-27,-7,-36,
 
85
-34,70,-57,
 
86
-37,-11,-48,
 
87
-40,17,-1,
 
88
-33,6,-6,
 
89
-9,0,-20,
 
90
-21,69,-33,
 
91
-29,33,-31,
 
92
-55,12,-1,
 
93
-33,27,-22,
 
94
-50,-33,-47,
 
95
-50,54,51,
 
96
-1,-5,-44,
 
97
-4,22,-40,
 
98
-39,-66,-25,
 
99
-33,1,-26,
 
100
-24,-23,-25,
 
101
-11,21,-45,
 
102
-25,-45,-19,
 
103
-43,105,-16,
 
104
5,-21,1,
 
105
-16,11,-33,
 
106
-13,-99,-4,
 
107
-37,33,-15,
 
108
-25,37,-63,
 
109
-36,24,-31,
 
110
-53,-56,-38,
 
111
-41,-4,4,
 
112
-33,13,-30,
 
113
49,52,-94,
 
114
-5,-30,-15,
 
115
1,38,-40,
 
116
-23,12,-36,
 
117
-17,40,-47,
 
118
-37,-41,-39,
 
119
-49,34,0,
 
120
-18,-7,-4,
 
121
-16,17,-27,
 
122
30,5,-62,
 
123
4,48,-68,
 
124
-43,11,-11,
 
125
-18,19,-15,
 
126
-23,-62,-39,
 
127
-42,10,-2,
 
128
-21,-13,-13,
 
129
-9,13,-47,
 
130
-23,-62,-24,
 
131
-44,60,-21,
 
132
-18,-3,-52,
 
133
-22,22,-36,
 
134
-75,57,16,
 
135
-19,3,10,
 
136
-29,23,-38,
 
137
-5,-62,-51,
 
138
-51,40,-18,
 
139
-42,13,-24,
 
140
-34,14,-20,
 
141
-56,-75,-26,
 
142
-26,32,15,
 
143
-26,17,-29,
 
144
-7,28,-52,
 
145
-12,-30,5,
 
146
-5,-48,-5,
 
147
2,2,-43,
 
148
21,16,16,
 
149
-25,-45,-32,
 
150
-43,18,-10,
 
151
9,0,-1,
 
152
-1,7,-30,
 
153
19,-48,-4,
 
154
-28,25,-29,
 
155
-22,0,-31,
 
156
-32,17,-10,
 
157
-64,-41,-62,
 
158
-52,15,16,
 
159
-30,-22,-32,
 
160
-7,9,-38};