2
|
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
|