41 iLBCenc_inst->
blockl*
sizeof(
float));
45 for (k = 0; k < iLBCenc_inst->
lpc_n; k++) {
49 if (k < (iLBCenc_inst->
lpc_n - 1)) {
116 int i, pos, lp_length;
120 lsfdeq2 = lsfdeq + length;
121 lp_length = length + 1;
123 if (iLBCenc_inst->
mode==30) {
134 memcpy(syntdenum,lp,lp_length*
sizeof(
float));
143 for (i = 1; i < iLBCenc_inst->
nsub; i++) {
146 memcpy(syntdenum + pos,lp,lp_length*
sizeof(
float));
157 for (i = 0; i < iLBCenc_inst->
nsub; i++) {
160 memcpy(syntdenum+pos,lp,lp_length*
sizeof(
float));
171 if (iLBCenc_inst->
mode==30) {
172 memcpy(lsfold, lsf2, length*
sizeof(
float));
173 memcpy(lsfdeqold, lsfdeq2, length*
sizeof(
float));
176 memcpy(lsfold, lsf, length*
sizeof(
float));
177 memcpy(lsfdeqold, lsfdeq, length*
sizeof(
float));
236 lsf, lsfdeq, iLBCenc_inst->
lsfold,
void LPCencode(float *syntdenum, float *weightdenum, int *lsf_index, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
float lpc_winTbl[BLOCKL_MAX]
float lsfCbTbl[64 *3+128 *3+128 *4]
void interpolate(float *out, float *in1, float *in2, float coef, int length)
void autocorr(float *r, const float *x, int N, int order)
#define LPC_CHIRP_WEIGHTDENUM
void bwexpand(float *out, float *in, float coef, int length)
int LSF_check(float *lsf, int dim, int NoAn)
void SplitVQ(float *qX, int *index, float *X, const float *CB, int nsplit, const int *dim, const int *cbsize)
#define LPC_CHIRP_SYNTDENUM
float lpc_lagwinTbl[LPC_FILTERORDER+1]
void levdurb(float *a, float *k, float *r, int order)
void SimpleAnalysis(float *lsf, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
void lsf2a(float *a_coef, float *freq)
float lsf_weightTbl_20ms[4]
void SimplelsfQ(float *lsfdeq, int *index, float *lsf, int lpc_n)
float lsf_weightTbl_30ms[6]
float lsfdeqold[LPC_FILTERORDER]
float lpc_buffer[LPC_LOOKBACK+BLOCKL_MAX]
float lpc_asymwinTbl[BLOCKL_MAX]
int dim_lsfCbTbl[LSF_NSPLIT]
void LSFinterpolate2a_enc(float *a, float *lsf1, float *lsf2, float coef, long length)
void a2lsf(float *freq, float *a)
int size_lsfCbTbl[LSF_NSPLIT]
float lsfold[LPC_FILTERORDER]
void SimpleInterpolateLSF(float *syntdenum, float *weightdenum, float *lsf, float *lsfdeq, float *lsfold, float *lsfdeqold, int length, iLBC_Enc_Inst_t *iLBCenc_inst)