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 SimpleAnalysis(float *lsf, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
void SimplelsfQ(float *lsfdeq, int *index, float *lsf, int lpc_n)
void SimpleInterpolateLSF(float *syntdenum, float *weightdenum, float *lsf, float *lsfdeq, float *lsfold, float *lsfdeqold, int length, iLBC_Enc_Inst_t *iLBCenc_inst)
void LPCencode(float *syntdenum, float *weightdenum, int *lsf_index, float *data, iLBC_Enc_Inst_t *iLBCenc_inst)
void LSFinterpolate2a_enc(float *a, float *lsf1, float *lsf2, float coef, long length)
float lpc_winTbl[BLOCKL_MAX]
float lsf_weightTbl_20ms[4]
int size_lsfCbTbl[LSF_NSPLIT]
int dim_lsfCbTbl[LSF_NSPLIT]
float lpc_asymwinTbl[BLOCKL_MAX]
float lsfCbTbl[64 *3+128 *3+128 *4]
float lsf_weightTbl_30ms[6]
float lpc_lagwinTbl[LPC_FILTERORDER+1]
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)
void interpolate(float *out, float *in1, float *in2, float coef, int length)
void autocorr(float *r, const float *x, int N, int order)
void levdurb(float *a, float *k, float *r, int order)
void bwexpand(float *out, float *in, float coef, int length)
#define LPC_CHIRP_SYNTDENUM
#define LPC_CHIRP_WEIGHTDENUM
void a2lsf(float *freq, float *a)
void lsf2a(float *a_coef, float *freq)
float lsfold[LPC_FILTERORDER]
float lpc_buffer[LPC_LOOKBACK+BLOCKL_MAX]
float lsfdeqold[LPC_FILTERORDER]