Asterisk - The Open Source Telephony Project  18.5.0
Variables
constants.c File Reference
#include "iLBC_define.h"
Include dependency graph for constants.c:

Go to the source code of this file.

Variables

float cbfiltersTbl [CB_FILTERLEN]
 
int dim_lsfCbTbl [LSF_NSPLIT] = {3, 3, 4}
 
float enh_plocsTbl [ENH_NBLOCKS_TOT]
 
float gain_sq3Tbl [8]
 
float gain_sq4Tbl [16]
 
float gain_sq5Tbl [32]
 
float hpi_pole_coefsTbl [3]
 
float hpi_zero_coefsTbl [3]
 
float hpo_pole_coefsTbl [3]
 
float hpo_zero_coefsTbl [3]
 
float lpc_asymwinTbl [BLOCKL_MAX]
 
float lpc_lagwinTbl [LPC_FILTERORDER+1]
 
float lpc_winTbl [BLOCKL_MAX]
 
float lpFilt_coefsTbl [FILTERORDER_DS]
 
float lsf_weightTbl_20ms [4]
 
float lsf_weightTbl_30ms [6]
 
float lsfCbTbl [64 *3+128 *3+128 *4]
 
float lsfmeanTbl [LPC_FILTERORDER]
 
int memLfTbl [NASUB_MAX] ={147,147,147,147}
 
float polyphaserTbl [ENH_UPS0 *(2 *ENH_FL0+1)]
 
int search_rangeTbl [5][CB_NSTAGES]
 
int size_lsfCbTbl [LSF_NSPLIT] = {64,128,128}
 
float state_frgqTbl [64]
 
float state_sq3Tbl [8]
 
int stMemLTbl =85
 
const iLBC_ULP_Inst_t ULP_20msTbl
 
const iLBC_ULP_Inst_t ULP_30msTbl
 

Variable Documentation

◆ cbfiltersTbl

float cbfiltersTbl[CB_FILTERLEN]
Initial value:
={
(float)-0.034180, (float)0.108887, (float)-0.184326,
(float)0.806152, (float)0.713379, (float)-0.144043,
(float)0.083740, (float)-0.033691
}

Definition at line 142 of file constants.c.

Referenced by filteredCBvecs(), and getCBvec().

◆ dim_lsfCbTbl

int dim_lsfCbTbl[LSF_NSPLIT] = {3, 3, 4}

Definition at line 202 of file constants.c.

Referenced by SimplelsfDEQ(), and SimplelsfQ().

◆ enh_plocsTbl

float enh_plocsTbl[ENH_NBLOCKS_TOT]
Initial value:
= {(float)40.0, (float)120.0,
(float)200.0, (float)280.0, (float)360.0,
(float)440.0, (float)520.0, (float)600.0}

Definition at line 196 of file constants.c.

Referenced by enhancerInterface().

◆ gain_sq3Tbl

float gain_sq3Tbl[8]

Definition at line 150 of file constants.c.

Referenced by gaindequant(), and gainquant().

◆ gain_sq4Tbl

float gain_sq4Tbl[16]

Definition at line 160 of file constants.c.

Referenced by gaindequant(), and gainquant().

◆ gain_sq5Tbl

float gain_sq5Tbl[32]

Definition at line 168 of file constants.c.

Referenced by gaindequant(), gainquant(), and iCBSearch().

◆ hpi_pole_coefsTbl

float hpi_pole_coefsTbl[3]
Initial value:
= {
(float)1.0, (float)-1.9059465, (float)0.9114024
}

Definition at line 77 of file constants.c.

Referenced by hpInput().

◆ hpi_zero_coefsTbl

float hpi_zero_coefsTbl[3]
Initial value:
= {
(float)0.92727436, (float)-1.8544941, (float)0.92727436
}

Definition at line 74 of file constants.c.

Referenced by hpInput().

◆ hpo_pole_coefsTbl

float hpo_pole_coefsTbl[3]
Initial value:
= {
(float)1.0, (float)-1.9330735, (float)0.93589199
}

Definition at line 83 of file constants.c.

Referenced by hpOutput().

◆ hpo_zero_coefsTbl

float hpo_zero_coefsTbl[3]
Initial value:
= {
(float)0.93980581, (float)-1.8795834, (float)0.93980581
}

Definition at line 80 of file constants.c.

Referenced by hpOutput().

◆ lpc_asymwinTbl

float lpc_asymwinTbl[BLOCKL_MAX]

Definition at line 317 of file constants.c.

Referenced by SimpleAnalysis().

◆ lpc_lagwinTbl

float lpc_lagwinTbl[LPC_FILTERORDER+1]
Initial value:
={
(float)1.000100, (float)0.998890, (float)0.995569,
(float)0.990057, (float)0.982392,
(float)0.972623, (float)0.960816, (float)0.947047,
(float)0.931405, (float)0.913989, (float)0.894909}

Definition at line 406 of file constants.c.

Referenced by SimpleAnalysis().

◆ lpc_winTbl

float lpc_winTbl[BLOCKL_MAX]

Definition at line 224 of file constants.c.

Referenced by SimpleAnalysis().

◆ lpFilt_coefsTbl

float lpFilt_coefsTbl[FILTERORDER_DS]
Initial value:
={
(float)-0.066650, (float)0.125000, (float)0.316650,
(float)0.414063, (float)0.316650,
(float)0.125000, (float)-0.066650
}

Definition at line 89 of file constants.c.

Referenced by enhancerInterface().

◆ lsf_weightTbl_20ms

float lsf_weightTbl_20ms[4]
Initial value:
= {(float)(3.0/4.0), (float)(2.0/4.0),
(float)(1.0/4.0), (float)(0.0)}

Definition at line 220 of file constants.c.

Referenced by DecoderInterpolateLSF(), and SimpleInterpolateLSF().

◆ lsf_weightTbl_30ms

float lsf_weightTbl_30ms[6]
Initial value:
= {(float)(1.0/2.0), (float)1.0,
(float)(2.0/3.0),
(float)(1.0/3.0), (float)0.0, (float)0.0}

Definition at line 216 of file constants.c.

Referenced by DecoderInterpolateLSF(), and SimpleInterpolateLSF().

◆ lsfCbTbl

float lsfCbTbl[64 *3+128 *3+128 *4]

Definition at line 413 of file constants.c.

Referenced by SimplelsfDEQ(), and SimplelsfQ().

◆ lsfmeanTbl

float lsfmeanTbl[LPC_FILTERORDER]
Initial value:
= {
(float)0.281738, (float)0.445801, (float)0.663330,
(float)0.962524, (float)1.251831, (float)1.533081,
(float)1.850586, (float)2.137817, (float)2.481445,
(float)2.777344}

Definition at line 210 of file constants.c.

Referenced by initDecode(), and initEncode().

◆ memLfTbl

int memLfTbl[NASUB_MAX] ={147,147,147,147}

Definition at line 138 of file constants.c.

Referenced by Decode(), and iLBC_encode().

◆ polyphaserTbl

float polyphaserTbl[ENH_UPS0 *(2 *ENH_FL0+1)]

Definition at line 182 of file constants.c.

Referenced by enh_upsample(), and refiner().

◆ search_rangeTbl

int search_rangeTbl[5][CB_NSTAGES]
Initial value:
={{58,58,58}, {108,44,44},
{108,108,108}, {108,108,108}, {108,108,108}}

Definition at line 135 of file constants.c.

Referenced by iCBSearch().

◆ size_lsfCbTbl

int size_lsfCbTbl[LSF_NSPLIT] = {64,128,128}

Definition at line 203 of file constants.c.

Referenced by SimplelsfDEQ(), and SimplelsfQ().

◆ state_frgqTbl

float state_frgqTbl[64]

Definition at line 108 of file constants.c.

Referenced by StateConstructW(), and StateSearchW().

◆ state_sq3Tbl

float state_sq3Tbl[8]

Definition at line 97 of file constants.c.

Referenced by AbsQuantW(), and StateConstructW().

◆ stMemLTbl

int stMemLTbl =85

Definition at line 137 of file constants.c.

Referenced by Decode(), and iLBC_encode().

◆ ULP_20msTbl

const iLBC_ULP_Inst_t ULP_20msTbl

Definition at line 19 of file constants.c.

Referenced by initDecode(), and initEncode().

◆ ULP_30msTbl

const iLBC_ULP_Inst_t ULP_30msTbl

Definition at line 44 of file constants.c.

Referenced by initDecode(), and initEncode().