~ubuntu-branches/ubuntu/utopic/sflphone/utopic-proposed

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/speex/libspeex/gain_table_lbr.c

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2002 Jean-Marc Valin 
 
2
   File: gain_table_lbr.c
 
3
   Codebook for 3-tap pitch prediction gain (32 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_lbr[128] = {
 
33
-32, -32, -32, 0,
 
34
-31, -58, -16, 22,
 
35
-41, -24, -43, 14,
 
36
-56, -22, -55, 29,
 
37
-13, 33, -41, 47,
 
38
-4, -39, -9, 29,
 
39
-41, 15, -12, 38,
 
40
-8, -15, -12, 31,
 
41
1, 2, -44, 40,
 
42
-22, -66, -42, 27,
 
43
-38, 28, -23, 38,
 
44
-21, 14, -37, 31,
 
45
0, 21, -50, 52,
 
46
-53, -71, -27, 33,
 
47
-37, -1, -19, 25,
 
48
-19, -5, -28, 22,
 
49
6, 65, -44, 74,
 
50
-33, -48, -33, 9,
 
51
-40, 57, -14, 58,
 
52
-17, 4, -45, 32,
 
53
-31, 38, -33, 36,
 
54
-23, 28, -40, 39,
 
55
-43, 29, -12, 46,
 
56
-34, 13, -23, 28,
 
57
-16, 15, -27, 34,
 
58
-14, -82, -15, 43,
 
59
-31, 25, -32, 29,
 
60
-21, 5, -5, 38,
 
61
-47, -63, -51, 33,
 
62
-46, 12, 3, 47,
 
63
-28, -17, -29, 11,
 
64
-10, 14, -40, 38};