Displaying 1 result from an estimated 1 matches for "gain_prod".
2010 Jan 27
1
Some additions to CELT_RESET_STATE for 0.7.1
...ow tried to reconcile it with the state structures in the 0.7.1 drop. I
think (and feel free to contradict me here) that the following lines
should be added to CELT_RESET_STATE in celt_encoder_ctl:
st->fold_decision = 1;
st->tonal_average = QCONST16(1.,8);
st->gain_prod = 0;
st->vbr_reservoir = 0;
st->vbr_drift = 0;
st->vbr_offset = 0;
st->vbr_count = 0;
st->xmem = 0;
CELT_MEMSET(st->pitch_buf, 0, (MAX_PERIOD>>1)+2);
and the following lines should be added to CELT_RESET_STATE in
celt_d...