diff options
Diffstat (limited to 'third_party/ilbc')
-rw-r--r-- | third_party/ilbc/LPCencode.c | 3 | ||||
-rw-r--r-- | third_party/ilbc/helpfun.c | 4 | ||||
-rw-r--r-- | third_party/ilbc/iLBC_decode.c | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/third_party/ilbc/LPCencode.c b/third_party/ilbc/LPCencode.c index 19695c0f..eed1f893 100644 --- a/third_party/ilbc/LPCencode.c +++ b/third_party/ilbc/LPCencode.c @@ -224,7 +224,6 @@ ){ float lsf[LPC_FILTERORDER * LPC_N_MAX]; float lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; - int change=0; SimpleAnalysis(lsf, data, iLBCenc_inst); SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); @@ -233,7 +232,7 @@ - change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); + LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); SimpleInterpolateLSF(syntdenum, weightdenum, lsf, lsfdeq, iLBCenc_inst->lsfold, iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); diff --git a/third_party/ilbc/helpfun.c b/third_party/ilbc/helpfun.c index 1aba6578..2406c131 100644 --- a/third_party/ilbc/helpfun.c +++ b/third_party/ilbc/helpfun.c @@ -277,7 +277,7 @@ table */ ){ int k,n,m, Nit=2, change=0,pos; - float tmp; + //float tmp; static float eps=(float)0.039; /* 50 Hz */ static float eps2=(float)0.0195; static float maxlsf=(float)3.14; /* 4000 Hz */ @@ -293,7 +293,7 @@ if ((lsf[pos+1]-lsf[pos])<eps) { if (lsf[pos+1]<lsf[pos]) { - tmp=lsf[pos+1]; + //tmp=lsf[pos+1]; lsf[pos+1]= lsf[pos]+eps2; lsf[pos]= lsf[pos+1]-eps2; } else { diff --git a/third_party/ilbc/iLBC_decode.c b/third_party/ilbc/iLBC_decode.c index 33d3f740..17395d3a 100644 --- a/third_party/ilbc/iLBC_decode.c +++ b/third_party/ilbc/iLBC_decode.c @@ -339,7 +339,6 @@ int lag, ilag; float cc, maxcc; int idxVec[STATE_LEN]; - int check; int gain_index[NASUB_MAX*CB_NSTAGES], extra_gain_index[CB_NSTAGES]; int cb_index[CB_NSTAGES*NASUB_MAX], extra_cb_index[CB_NSTAGES]; @@ -500,7 +499,7 @@ /* decode the lsf */ SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n); - check=LSF_check(lsfdeq, LPC_FILTERORDER, + LSF_check(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); DecoderInterpolateLSF(syntdenum, weightdenum, lsfdeq, LPC_FILTERORDER, iLBCdec_inst); |