提交 4b46a551 authored 作者: Steve Underwood's avatar Steve Underwood

Eliminated a couple of unused variable warnings in the Broadvoice codec.

上级 f5151691
...@@ -103,7 +103,6 @@ BV_DECLARE(int) bv16_encode(bv16_encode_state_t *cs, ...@@ -103,7 +103,6 @@ BV_DECLARE(int) bv16_encode(bv16_encode_state_t *cs,
Float gainq; Float gainq;
Float lg; Float lg;
Float ppt; Float ppt;
Float lth;
Float dummy; Float dummy;
int pp; int pp;
int cpp; int cpp;
...@@ -189,8 +188,15 @@ BV_DECLARE(int) bv16_encode(bv16_encode_state_t *cs, ...@@ -189,8 +188,15 @@ BV_DECLARE(int) bv16_encode(bv16_encode_state_t *cs,
/* Level estimation */ /* Level estimation */
dummy = estl_alpha; dummy = estl_alpha;
lth = estlevel(cs->prevlg[0], &cs->level, &cs->lmax, &cs->lmin, estlevel(cs->prevlg[0],
&cs->lmean, &cs->x1, LGPORDER + 1, Nfdm + 1, &dummy); &cs->level,
&cs->lmax,
&cs->lmin,
&cs->lmean,
&cs->x1,
LGPORDER + 1,
Nfdm + 1,
&dummy);
/* Scale the scalar quantizer codebook */ /* Scale the scalar quantizer codebook */
for (i = 0; i < (VDIM*CBSZ); i++) for (i = 0; i < (VDIM*CBSZ); i++)
......
...@@ -103,7 +103,6 @@ BV_DECLARE(int) bv32_encode(bv32_encode_state_t *cs, ...@@ -103,7 +103,6 @@ BV_DECLARE(int) bv32_encode(bv32_encode_state_t *cs,
Float e; Float e;
Float ee; Float ee;
Float ppt; Float ppt;
Float lth;
int pp; int pp;
int cpp; int cpp;
int i; int i;
...@@ -193,8 +192,8 @@ BV_DECLARE(int) bv32_encode(bv32_encode_state_t *cs, ...@@ -193,8 +192,8 @@ BV_DECLARE(int) bv32_encode(bv32_encode_state_t *cs,
lg = (ee < TMinE) ? MinE : log(ee/SFRSZ)/log(2.0); lg = (ee < TMinE) ? MinE : log(ee/SFRSZ)/log(2.0);
bs.gidx[issf] = bv32_gainquan(gainq + issf, lg, cs->lgpm, cs->prevlg, cs->level); bs.gidx[issf] = bv32_gainquan(gainq + issf, lg, cs->lgpm, cs->prevlg, cs->level);
/* Level Estimation */ /* Level estimation */
lth = bv32_estlevel(cs->prevlg[0], &cs->level, &cs->lmax, &cs->lmin, &cs->lmean, &cs->x1); bv32_estlevel(cs->prevlg[0], &cs->level, &cs->lmax, &cs->lmin, &cs->lmean, &cs->x1);
/* Scale the excitation codebook */ /* Scale the excitation codebook */
for (i = 0; i < (VDIM*CBSZ); i++) for (i = 0; i < (VDIM*CBSZ); i++)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论