constants.h

00001 /*
00002  * iLBC - a library for the iLBC codec
00003  *
00004  * constants.h - The iLBC low bit rate speech codec.
00005  *
00006  * Adapted by Steve Underwood <steveu@coppice.org> from the reference
00007  * iLBC code supplied in RFC3951.
00008  *
00009  * Original code Copyright (C) The Internet Society (2004).
00010  * All changes to produce this version Copyright (C) 2008 by Steve Underwood
00011  * All Rights Reserved.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  *
00017  * $Id: constants.h,v 1.2 2008/03/06 12:27:38 steveu Exp $
00018  */
00019 
00020 #ifndef __iLBC_CONSTANTS_H
00021 #define __iLBC_CONSTANTS_H
00022 
00023 #include "iLBC_define.h"
00024 #include "ilbc.h"
00025 
00026 /* ULP bit allocation */
00027 
00028 extern const ilbc_ulp_inst_t ULP_20msTbl;
00029 extern const ilbc_ulp_inst_t ULP_30msTbl;
00030 
00031 /* high pass filters */
00032 
00033 extern const float hpi_zero_coefsTbl[];
00034 extern const float hpi_pole_coefsTbl[];
00035 extern const float hpo_zero_coefsTbl[];
00036 extern const float hpo_pole_coefsTbl[];
00037 
00038 /* low pass filters */
00039 extern const float lpFilt_coefsTbl[];
00040 
00041 /* LPC analysis and quantization */
00042 
00043 extern const float lpc_winTbl[];
00044 extern const float lpc_asymwinTbl[];
00045 extern const float lpc_lagwinTbl[];
00046 extern const float lsfCbTbl[];
00047 extern const float lsfmeanTbl[];
00048 extern const int   dim_lsfCbTbl[];
00049 extern const int   size_lsfCbTbl[];
00050 extern const float lsf_weightTbl_30ms[];
00051 extern const float lsf_weightTbl_20ms[];
00052 
00053 /* state quantization tables */
00054 
00055 extern const float state_sq3Tbl[];
00056 extern const float state_frgqTbl[];
00057 
00058 /* gain quantization tables */
00059 
00060 extern const float gain_sq3Tbl[];
00061 extern const float gain_sq4Tbl[];
00062 extern const float gain_sq5Tbl[];
00063 
00064 /* adaptive codebook definitions */
00065 
00066 extern const int search_rangeTbl[5][CB_NSTAGES];
00067 extern const int memLfTbl[];
00068 extern const int stMemLTbl;
00069 extern const float cbfiltersTbl[CB_FILTERLEN];
00070 
00071 /* enhancer definitions */
00072 
00073 extern const float polyphaserTbl[];
00074 extern const float enh_plocsTbl[];
00075 
00076 #endif

Generated on Wed Dec 8 21:27:39 2010 for libilbc by  doxygen 1.5.9