Eliminated a couple of unused variable warnings in the Broadvoice codec.
This commit is contained in:
parent
f5151691c7
commit
4b46a5511e
|
@ -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,
|
||||||
|
|
||||||
/* 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,
|
||||||
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,
|
||||||
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++)
|
||||||
|
|
Loading…
Reference in New Issue