Lines Matching refs:excitation
72 * the fixed vector contribution to the excitation vector.
116 float excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1 + AMR_SUBFRAME_SIZE]; ///< current excitation and all necessary excitation history
117 float *excitation; ///< pointer to the current excitation vector in excitation_buf
176 // p->excitation always points to the same position in p->excitation_buf
177 p->excitation = &p->excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1];
415 /* Calculate the pitch vector by interpolating the past excitation at the
417 p->acelpf_ctx.acelp_interpolatef(p->excitation,
418 p->excitation + 1 - pitch_lag_int,
423 memcpy(p->pitch_vector, p->excitation, AMR_SUBFRAME_SIZE * sizeof(float));
795 float excitation[AMR_SUBFRAME_SIZE];
803 p->acelpv_ctx.weighted_vector_sumf(excitation, p->pitch_vector, fixed_vector,
808 float energy = p->celpm_ctx.dot_productf(excitation, excitation,
817 excitation[i] += pitch_factor * p->pitch_vector[i];
819 ff_scale_vector_to_given_sum_of_squares(excitation, excitation, energy,
823 p->celpf_ctx.celp_lp_synthesis_filterf(samples, lpc, excitation,
1022 // The excitation feedback is calculated without any processing such
1025 p->excitation[i] *= p->pitch_gain[4];
1026 ff_set_fixed_vector(p->excitation, &fixed_sparse, p->fixed_gain[4],
1029 // In the ref decoder, excitation is stored with no fractional bits.
1032 // creates unwanted feedback if the excitation vector is nonzero.
1035 p->excitation[i] = truncf(p->excitation[i]);