Lines Matching defs:excitation
63 float excitation_buf[AMRWB_P_DELAY_MAX + LP_ORDER + 2 + AMRWB_SFR_SIZE]; ///< current excitation and all necessary excitation history
64 float *excitation; ///< points to current excitation in excitation_buf[]
88 AVLFG prng; ///< random number generator for white noise excitation
124 ctx->excitation = &ctx->excitation_buf[AMRWB_P_DELAY_MAX + LP_ORDER + 1];
322 * Find the pitch vector by interpolating the past excitation at the
335 float *exc = ctx->excitation;
348 /* Calculate the pitch vector by interpolating the past excitation at the
498 * @param[out] fixed_vector Buffer for the fixed codebook excitation
588 * @param[in,out] fixed_vector Fixed codebook excitation
608 * @param[in] p_vector, f_vector Pitch and fixed excitation vectors
717 * fluctuation in the energy of excitation.
772 * Conduct 16th order linear predictive coding synthesis from excitation.
776 * @param[out] excitation Buffer for synthesis final excitation
781 static void synthesis(AMRWBContext *ctx, float *lpc, float *excitation,
785 ctx->acelpv_ctx.weighted_vector_sumf(excitation, ctx->pitch_vector, fixed_vector,
791 float energy = ctx->celpm_ctx.dot_productf(excitation, excitation,
799 excitation[i] += pitch_factor * ctx->pitch_vector[i];
801 ff_scale_vector_to_given_sum_of_squares(excitation, excitation,
805 ctx->celpf_ctx.celp_lp_synthesis_filterf(samples, lpc, excitation,
893 * Generate the high-band excitation with the same energy from the lower
897 * @param[out] hb_exc Buffer for the excitation
898 * @param[in] synth_exc Low-band excitation used for synthesis
899 * @param[in] hb_gain Wanted excitation gain
908 /* Generate a white-noise excitation */
1017 * frequency band excitation at 16kHz.
1022 * @param[in] exc Generated white-noise scaled excitation
1127 float synth_exc[AMRWB_SFR_SIZE]; // post-processed excitation for synthesis
1128 float hb_exc[AMRWB_SFR_SIZE_16k]; // excitation for the high frequency band
1223 /* Construct current excitation */
1225 ctx->excitation[i] *= ctx->pitch_gain[0];
1226 ctx->excitation[i] += ctx->fixed_gain[0] * ctx->fixed_vector[i];
1227 ctx->excitation[i] = truncf(ctx->excitation[i]);
1230 /* Post-processing of excitation elements */