~ubuntu-branches/ubuntu/vivid/sflphone/vivid

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/ilbc/iLBC_decode.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

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
       iLBC_decode.h
 
7
 
 
8
       Copyright (C) The Internet Society (2004).
 
9
       All Rights Reserved.
 
10
 
 
11
   ******************************************************************/
 
12
 
 
13
   #ifndef __iLBC_ILBCDECODE_H
 
14
   #define __iLBC_ILBCDECODE_H
 
15
 
 
16
   #include "iLBC_define.h"
 
17
 
 
18
   short initDecode(                   /* (o) Number of decoded
 
19
                                              samples */
 
20
       iLBC_Dec_Inst_t *iLBCdec_inst,  /* (i/o) Decoder instance */
 
21
       int mode,                       /* (i) frame size mode */
 
22
       int use_enhancer                /* (i) 1 to use enhancer
 
23
                                              0 to run without
 
24
                                                enhancer */
 
25
   );
 
26
 
 
27
   void iLBC_decode(
 
28
       float *decblock,            /* (o) decoded signal block */
 
29
       unsigned char *bytes,           /* (i) encoded signal bits */
 
30
       iLBC_Dec_Inst_t *iLBCdec_inst,  /* (i/o) the decoder state
 
31
                                                structure */
 
32
       int mode                    /* (i) 0: bad packet, PLC,
 
33
                                              1: normal */
 
34
 
 
35
 
 
36
 
 
37
 
 
38
 
 
39
   );
 
40
 
 
41
   #endif