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