Lines Matching defs:fixed_gain
67 float fixed_gain[2]; ///< quantified fixed gains for the current and previous subframes
627 if (ctx->fixed_gain[0] > 3.0 * ctx->fixed_gain[1]) {
692 * @param[in] fixed_gain Unsmoothed fixed gain
699 static float noise_enhancer(float fixed_gain, float *prev_tr_gain,
708 if (fixed_gain < *prev_tr_gain) {
709 g0 = FFMIN(*prev_tr_gain, fixed_gain + fixed_gain *
712 g0 = FFMAX(*prev_tr_gain, fixed_gain *
717 return sm_fac * g0 + (1 - sm_fac) * fixed_gain;
750 * @param[in] fixed_gain Fixed codebook gain for synthesis
755 float fixed_gain, const float *fixed_vector,
759 ctx->pitch_gain[0], fixed_gain, AMRWB_SFR_SIZE);
1058 memmove(&ctx->fixed_gain[1], &ctx->fixed_gain[0], 1 * sizeof(float));
1162 ctx->fixed_gain[0] =
1171 ctx->fixed_vector, ctx->fixed_gain[0]);
1177 ctx->excitation[i] += ctx->fixed_gain[0] * ctx->fixed_vector[i];
1182 synth_fixed_gain = noise_enhancer(ctx->fixed_gain[0], &ctx->prev_tr_gain,