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