Lines Matching refs:decresidual
117 int16_t decresidual[BLOCKL_MAX];
768 int16_t *decresidual,
787 state_construct(encbits->ifm, encbits->idx, &syntdenum[(encbits->start - 1) * (LPC_FILTERORDER + 1)], &decresidual[start_pos], s->state_short_len);
792 memcpy(mem + CB_MEML - s->state_short_len, decresidual + start_pos, s->state_short_len * 2);
796 construct_vector(&decresidual[start_pos + s->state_short_len], encbits->cb_index, encbits->gain_index, mem + CB_MEML - ST_MEM_L_TBL, ST_MEM_L_TBL, (int16_t) diff);
801 reverse_memcpy(mem + CB_MEML - 1, decresidual + start_pos, meml_gotten);
808 reverse_memcpy(&decresidual[start_pos - 1], reverseDecresidual, diff);
820 memcpy(mem + CB_MEML - STATE_LEN, decresidual + (encbits->start - 1) * SUBL, STATE_LEN * 2);
825 construct_vector(&decresidual[(encbits->start + 1 + subframe) * SUBL], encbits->cb_index + subcount * CB_NSTAGES, encbits->gain_index + subcount * CB_NSTAGES, mem, MEM_LF_TBL, SUBL);
829 memcpy(mem + CB_MEML - SUBL, &decresidual[(encbits->start + 1 + subframe) * SUBL], SUBL * 2);
846 reverse_memcpy(mem + CB_MEML - 1, decresidual + (encbits->start - 1) * SUBL, meml_gotten);
863 reverse_memcpy(decresidual + SUBL * Nback - 1, reverseDecresidual, SUBL * Nback);
955 int16_t *decresidual, /* (i) decoded residual */
1192 memcpy(plc_residual, decresidual, s->block_samples * 2);
1387 decode_residual(s, &s->frame, s->decresidual, s->syntdenum);
1390 s->decresidual, s->syntdenum + (LPC_FILTERORDER + 1) * (s->nsub - 1),
1393 memcpy(s->decresidual, s->plc_residual, s->block_samples * 2);
1403 lag = xcorr_coeff(&s->decresidual[s->block_samples-60], &s->decresidual[s->block_samples-80],
1406 lag = xcorr_coeff(&s->decresidual[s->block_samples-ENH_BLOCKL],
1407 &s->decresidual[s->block_samples-ENH_BLOCKL-20],
1415 memcpy(plc_data, s->decresidual, s->block_samples * 2);