Lines Matching defs:excitation
73 * the fixed vector contribution to the excitation vector.
117 float excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1 + AMR_SUBFRAME_SIZE]; ///< current excitation and all necessary excitation history
118 float *excitation; ///< pointer to the current excitation vector in excitation_buf
185 // p->excitation always points to the same position in p->excitation_buf
186 p->excitation = &p->excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1];
425 /* Calculate the pitch vector by interpolating the past excitation at the
427 p->acelpf_ctx.acelp_interpolatef(p->excitation,
428 p->excitation + 1 - pitch_lag_int,
433 memcpy(p->pitch_vector, p->excitation, AMR_SUBFRAME_SIZE * sizeof(float));
805 float excitation[AMR_SUBFRAME_SIZE];
813 p->acelpv_ctx.weighted_vector_sumf(excitation, p->pitch_vector, fixed_vector,
818 float energy = p->celpm_ctx.dot_productf(excitation, excitation,
827 excitation[i] += pitch_factor * p->pitch_vector[i];
829 ff_scale_vector_to_given_sum_of_squares(excitation, excitation, energy,
833 p->celpf_ctx.celp_lp_synthesis_filterf(samples, lpc, excitation,
1036 // The excitation feedback is calculated without any processing such
1039 p->excitation[i] *= p->pitch_gain[4];
1040 ff_set_fixed_vector(p->excitation, &fixed_sparse, p->fixed_gain[4],
1043 // In the ref decoder, excitation is stored with no fractional bits.
1046 // creates unwanted feedback if the excitation vector is nonzero.
1049 p->excitation[i] = truncf(p->excitation[i]);