libvoipcodecs  0.0.1
constants.h
1 /*
2  * iLBC - a library for the iLBC codec
3  *
4  * constants.h - The iLBC low bit rate speech codec.
5  *
6  * Adapted by Steve Underwood <steveu@coppice.org> from the reference
7  * iLBC code supplied in RFC3951.
8  *
9  * Original code Copyright (C) The Internet Society (2004).
10  * All changes to produce this version Copyright (C) 2008 by Steve Underwood
11  * All Rights Reserved.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  *
17  * $Id: constants.h,v 1.2 2008/03/06 12:27:38 steveu Exp $
18  */
19 
20 #ifndef __iLBC_CONSTANTS_H
21 #define __iLBC_CONSTANTS_H
22 
23 #include "iLBC_define.h"
24 #include "ilbc.h"
25 
26 /* ULP bit allocation */
27 
28 extern const ilbc_ulp_inst_t ULP_20msTbl;
29 extern const ilbc_ulp_inst_t ULP_30msTbl;
30 
31 /* high pass filters */
32 
33 extern const float hpi_zero_coefsTbl[];
34 extern const float hpi_pole_coefsTbl[];
35 extern const float hpo_zero_coefsTbl[];
36 extern const float hpo_pole_coefsTbl[];
37 
38 /* low pass filters */
39 extern const float lpFilt_coefsTbl[];
40 
41 /* LPC analysis and quantization */
42 
43 extern const float lpc_winTbl[];
44 extern const float lpc_asymwinTbl[];
45 extern const float lpc_lagwinTbl[];
46 extern const float lsfCbTbl[];
47 extern const float lsfmeanTbl[];
48 extern const int dim_lsfCbTbl[];
49 extern const int size_lsfCbTbl[];
50 extern const float lsf_weightTbl_30ms[];
51 extern const float lsf_weightTbl_20ms[];
52 
53 /* state quantization tables */
54 
55 extern const float state_sq3Tbl[];
56 extern const float state_frgqTbl[];
57 
58 /* gain quantization tables */
59 
60 extern const float gain_sq3Tbl[];
61 extern const float gain_sq4Tbl[];
62 extern const float gain_sq5Tbl[];
63 
64 /* adaptive codebook definitions */
65 
66 extern const int search_rangeTbl[5][CB_NSTAGES];
67 extern const int memLfTbl[];
68 extern const int stMemLTbl;
69 extern const float cbfiltersTbl[CB_FILTERLEN];
70 
71 /* enhancer definitions */
72 
73 extern const float polyphaserTbl[];
74 extern const float enh_plocsTbl[];
75 
76 #endif
Definition: ilbc/ilbc.h:52