Asterisk - The Open Source Telephony Project GIT-master-f36a736
constants.h
Go to the documentation of this file.
1
2 /******************************************************************
3
4 iLBC Speech Coder ANSI-C Source Code
5
6 constants.h
7
8 Copyright (C) The Internet Society (2004).
9 All Rights Reserved.
10
11 ******************************************************************/
12
13 #ifndef __iLBC_CONSTANTS_H
14 #define __iLBC_CONSTANTS_H
15
16 #include "iLBC_define.h"
17
18
19 /* ULP bit allocation */
20
21
22
23
24
25
26 extern const iLBC_ULP_Inst_t ULP_20msTbl;
27 extern const iLBC_ULP_Inst_t ULP_30msTbl;
28
29 /* high pass filters */
30
31 extern float hpi_zero_coefsTbl[];
32 extern float hpi_pole_coefsTbl[];
33 extern float hpo_zero_coefsTbl[];
34 extern float hpo_pole_coefsTbl[];
35
36 /* low pass filters */
37 extern float lpFilt_coefsTbl[];
38
39 /* LPC analysis and quantization */
40
41 extern float lpc_winTbl[];
42 extern float lpc_asymwinTbl[];
43 extern float lpc_lagwinTbl[];
44 extern float lsfCbTbl[];
45 extern float lsfmeanTbl[];
46 extern int dim_lsfCbTbl[];
47 extern int size_lsfCbTbl[];
48 extern float lsf_weightTbl_30ms[];
49 extern float lsf_weightTbl_20ms[];
50
51 /* state quantization tables */
52
53 extern float state_sq3Tbl[];
54 extern float state_frgqTbl[];
55
56 /* gain quantization tables */
57
58 extern float gain_sq3Tbl[];
59 extern float gain_sq4Tbl[];
60 extern float gain_sq5Tbl[];
61
62 /* adaptive codebook definitions */
63
64 extern int search_rangeTbl[5][CB_NSTAGES];
65 extern int memLfTbl[];
66 extern int stMemLTbl;
67 extern float cbfiltersTbl[CB_FILTERLEN];
68
69 /* enhancer definitions */
70
71 extern float polyphaserTbl[];
72 extern float enh_plocsTbl[];
73
74
75
76
77
78
79 #endif
int memLfTbl[]
Definition: constants.c:138
int stMemLTbl
Definition: constants.c:137
float lsf_weightTbl_20ms[]
Definition: constants.c:220
float polyphaserTbl[]
Definition: constants.c:182
int size_lsfCbTbl[]
Definition: constants.c:203
int dim_lsfCbTbl[]
Definition: constants.c:202
float state_sq3Tbl[]
Definition: constants.c:97
float lpc_asymwinTbl[]
Definition: constants.c:317
const iLBC_ULP_Inst_t ULP_30msTbl
Definition: constants.c:44
float lpc_winTbl[]
Definition: constants.c:224
float lsf_weightTbl_30ms[]
Definition: constants.c:216
float gain_sq4Tbl[]
Definition: constants.c:160
float lsfCbTbl[]
Definition: constants.c:413
float gain_sq3Tbl[]
Definition: constants.c:150
float enh_plocsTbl[]
Definition: constants.c:196
float lsfmeanTbl[]
Definition: constants.c:210
float hpo_pole_coefsTbl[]
Definition: constants.c:83
float lpFilt_coefsTbl[]
Definition: constants.c:89
const iLBC_ULP_Inst_t ULP_20msTbl
Definition: constants.c:19
float hpi_zero_coefsTbl[]
Definition: constants.c:74
float hpi_pole_coefsTbl[]
Definition: constants.c:77
float hpo_zero_coefsTbl[]
Definition: constants.c:80
float state_frgqTbl[]
Definition: constants.c:108
float gain_sq5Tbl[]
Definition: constants.c:168
float lpc_lagwinTbl[]
Definition: constants.c:406
float cbfiltersTbl[CB_FILTERLEN]
Definition: constants.c:142
int search_rangeTbl[5][CB_NSTAGES]
Definition: constants.c:135
#define CB_FILTERLEN
Definition: iLBC_define.h:59
#define CB_NSTAGES
Definition: iLBC_define.h:56