aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/ilbc/constants.h
blob: e27754d8f668aeffe47fce5664ec6b258e652594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/******************************************************************

    iLBC Speech Coder ANSI-C Source Code

    constants.h

    Copyright (C) The Internet Society (2004). 
    All Rights Reserved.



******************************************************************/

#ifndef __iLBC_CONSTANTS_H
#define __iLBC_CONSTANTS_H

#include "iLBC_define.h"


/* ULP bit allocation */

extern const iLBC_ULP_Inst_t ULP_20msTbl;
extern const iLBC_ULP_Inst_t ULP_30msTbl;

/* high pass filters */

extern float hpi_zero_coefsTbl[];
extern float hpi_pole_coefsTbl[];
extern float hpo_zero_coefsTbl[];
extern float hpo_pole_coefsTbl[];  

/* low pass filters */
extern float lpFilt_coefsTbl[];

/* LPC analysis and quantization */

extern float lpc_winTbl[];
extern float lpc_asymwinTbl[];
extern float lpc_lagwinTbl[];
extern float lsfCbTbl[];
extern float lsfmeanTbl[];
extern int   dim_lsfCbTbl[];
extern int   size_lsfCbTbl[];
extern float lsf_weightTbl_30ms[]; 
extern float lsf_weightTbl_20ms[];

/* state quantization tables */

extern float state_sq3Tbl[];
extern float state_frgqTbl[];

/* gain quantization tables */

extern float gain_sq3Tbl[];
extern float gain_sq4Tbl[];
extern float gain_sq5Tbl[];

/* adaptive codebook definitions */

extern int search_rangeTbl[5][CB_NSTAGES];
extern int memLfTbl[];
extern int stMemLTbl;
extern float cbfiltersTbl[CB_FILTERLEN];



/* enhancer definitions */

extern float polyphaserTbl[];
extern float enh_plocsTbl[];

#endif