Lines Matching refs:residual
547 /* Compute residual energy */
683 static void acb_search(G723_1_ChannelContext *p, int16_t *residual,
712 ff_g723_1_get_residual(residual, p->prev_excitation, pitch_lag + i - 1);
717 temp += residual[PITCH_ORDER - 1 + k] * impulse_resp[j - k];
723 flt_buf[j][0] = ((residual[j] << 13) + (1 << 14)) >> 15;
726 residual[j] * impulse_resp[k];
797 * to obtain the residual.
801 static void sub_acb_contrib(const int16_t *residual, const int16_t *impulse_resp,
805 /* Subtract adaptive CB contribution to obtain the residual */
809 temp -= residual[j] * impulse_resp[i - j];
816 * Quantize the residual signal using the fixed codebook (MP-MLQ).
858 /* Compute crosscorrelation of impulse response with residual signal */
1165 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1];
1192 acb_search(p, residual, impulse_resp, in, i);
1193 ff_g723_1_gen_acb_excitation(residual, p->prev_excitation,
1196 sub_acb_contrib(residual, impulse_resp, in);