libilbc 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
18#ifndef __iLBC_CONSTANTS_H
19#define __iLBC_CONSTANTS_H
20
21#include "iLBC_define.h"
22#include "ilbc.h"
23
24/* ULP bit allocation */
25
26extern const ilbc_ulp_inst_t ULP_20msTbl;
27extern const ilbc_ulp_inst_t ULP_30msTbl;
28
29/* high pass filters */
30
31extern const float hpi_zero_coefsTbl[];
32extern const float hpi_pole_coefsTbl[];
33extern const float hpo_zero_coefsTbl[];
34extern const float hpo_pole_coefsTbl[];
35
36/* low pass filters */
37extern const float lpFilt_coefsTbl[];
38
39/* LPC analysis and quantization */
40
41extern const float lpc_winTbl[];
42extern const float lpc_asymwinTbl[];
43extern const float lpc_lagwinTbl[];
44extern const float lsfCbTbl[];
45extern const float lsfmeanTbl[];
46extern const int dim_lsfCbTbl[];
47extern const int size_lsfCbTbl[];
48extern const float lsf_weightTbl_30ms[];
49extern const float lsf_weightTbl_20ms[];
50
51/* state quantization tables */
52
53extern const float state_sq3Tbl[];
54extern const float state_frgqTbl[];
55
56/* gain quantization tables */
57
58extern const float gain_sq3Tbl[];
59extern const float gain_sq4Tbl[];
60extern const float gain_sq5Tbl[];
61
62/* adaptive codebook definitions */
63
64extern const int search_rangeTbl[5][CB_NSTAGES];
65extern const int memLfTbl[];
66extern const int stMemLTbl;
67extern const float cbfiltersTbl[CB_FILTERLEN];
68
69/* enhancer definitions */
70
71extern const float polyphaserTbl[];
72extern const float enh_plocsTbl[];
73
74#endif
Definition ilbc/ilbc.h:71