• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:residual

524 static void get_residual(int16_t *residual, int16_t *prev_excitation, int lag)
529 residual[0] = prev_excitation[offset];
530 residual[1] = prev_excitation[offset + 1];
534 residual[i] = prev_excitation[offset + (i - 2) % lag];
550 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1];
557 get_residual(residual, prev_excitation, lag);
568 sum = ff_dot_product(residual + i, cb_ptr, PITCH_ORDER);
614 * @param res_eng residual energy
619 int pf_residual; /* square of postfiltered residual */
675 * 2 - forward residual energy
677 * 4 - backward residual energy
697 /* Compute forward residual energy */
701 /* Compute backward residual energy */
746 * @return residual interpolation index if voiced, 0 otherwise
784 * Peform residual interpolation based on frame classification.
1782 /* Compute residual energy */
1919 static void acb_search(G723_1_Context *p, int16_t *residual,
1949 get_residual(residual, p->prev_excitation, pitch_lag + i - 1);
1954 temp += residual[PITCH_ORDER - 1 + k] * impulse_resp[j - k];
1960 flt_buf[j][0] = ((residual[j] << 13) + (1 << 14)) >> 15;
1963 residual[j] * impulse_resp[k];
2035 * to obtain the residual.
2039 static void sub_acb_contrib(const int16_t *residual, const int16_t *impulse_resp,
2043 /* Subtract adaptive CB contribution to obtain the residual */
2047 temp -= residual[j] * impulse_resp[i - j];
2054 * Quantize the residual signal using the fixed codebook (MP-MLQ).
2095 /* Compute crosscorrelation of impulse response with residual signal */
2405 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1];
2432 acb_search(p, residual, impulse_resp, in, i);
2433 gen_acb_excitation(residual, p->prev_excitation,p->pitch_lag[i >> 1],
2435 sub_acb_contrib(residual, impulse_resp, in);