~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/ilbc/createCB.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* 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
 
 
2
   /******************************************************************
 
3
 
 
4
       iLBC Speech Coder ANSI-C Source Code
 
5
 
 
6
       createCB.h
 
7
 
 
8
       Copyright (C) The Internet Society (2004).
 
9
       All Rights Reserved.
 
10
 
 
11
   ******************************************************************/
 
12
 
 
13
   #ifndef __iLBC_CREATECB_H
 
14
   #define __iLBC_CREATECB_H
 
15
 
 
16
   void filteredCBvecs(
 
17
       float *cbvectors,   /* (o) Codebook vector for the
 
18
                                  higher section */
 
19
 
 
20
 
 
21
 
 
22
 
 
23
 
 
24
       float *mem,         /* (i) Buffer to create codebook
 
25
                                  vectors from */
 
26
       int lMem        /* (i) Length of buffer */
 
27
   );
 
28
 
 
29
   void searchAugmentedCB(
 
30
       int low,        /* (i) Start index for the search */
 
31
       int high,           /* (i) End index for the search */
 
32
       int stage,          /* (i) Current stage */
 
33
       int startIndex,     /* (i) CB index for the first
 
34
                                  augmented vector */
 
35
       float *target,      /* (i) Target vector for encoding */
 
36
       float *buffer,      /* (i) Pointer to the end of the
 
37
                                  buffer for augmented codebook
 
38
                                  construction */
 
39
       float *max_measure, /* (i/o) Currently maximum measure */
 
40
       int *best_index,/* (o) Currently the best index */
 
41
       float *gain,    /* (o) Currently the best gain */
 
42
       float *energy,      /* (o) Energy of augmented
 
43
                                  codebook vectors */
 
44
       float *invenergy/* (o) Inv energy of aug codebook
 
45
                                  vectors */
 
46
   );
 
47
 
 
48
   void createAugmentedVec(
 
49
       int index,          /* (i) Index for the aug vector
 
50
                                  to be created */
 
51
       float *buffer,      /* (i) Pointer to the end of the
 
52
                                  buffer for augmented codebook
 
53
                                  construction */
 
54
       float *cbVec    /* (o) The construced codebook vector */
 
55
   );
 
56
 
 
57
   #endif
 
58