Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions
LPCencode.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void LPCencode (float *syntdenum, float *weightdenum, int *lsf_index, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
 

Function Documentation

◆ LPCencode()

void LPCencode ( float *  syntdenum,
float *  weightdenum,
int *  lsf_index,
float *  data,
iLBC_Enc_Inst_t iLBCenc_inst 
)

Definition at line 214 of file LPCencode.c.

224 {
225 float lsf[LPC_FILTERORDER * LPC_N_MAX];
226 float lsfdeq[LPC_FILTERORDER * LPC_N_MAX];
227
228 SimpleAnalysis(lsf, data, iLBCenc_inst);
229 SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n);
230
231
232
233
234 LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n);
235 SimpleInterpolateLSF(syntdenum, weightdenum,
236 lsf, lsfdeq, iLBCenc_inst->lsfold,
237 iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst);
238 }
void SimpleAnalysis(float *lsf, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
Definition: LPCencode.c:28
void SimplelsfQ(float *lsfdeq, int *index, float *lsf, int lpc_n)
Definition: LPCencode.c:190
void SimpleInterpolateLSF(float *syntdenum, float *weightdenum, float *lsf, float *lsfdeq, float *lsfold, float *lsfdeqold, int length, iLBC_Enc_Inst_t *iLBCenc_inst)
Definition: LPCencode.c:99
int LSF_check(float *lsf, int dim, int NoAn)
Definition: helpfun.c:272
#define LPC_FILTERORDER
Definition: iLBC_define.h:40
#define LPC_N_MAX
Definition: iLBC_define.h:46
float lsfold[LPC_FILTERORDER]
Definition: iLBC_define.h:150
float lsfdeqold[LPC_FILTERORDER]
Definition: iLBC_define.h:151

References LPC_FILTERORDER, iLBC_Enc_Inst_t_::lpc_n, LPC_N_MAX, LSF_check(), iLBC_Enc_Inst_t_::lsfdeqold, iLBC_Enc_Inst_t_::lsfold, SimpleAnalysis(), SimpleInterpolateLSF(), and SimplelsfQ().

Referenced by iLBC_encode().