Lines Matching defs:fixed_gain
71 float fixed_gain[2]; ///< quantified fixed gains for the current and previous subframes
654 if (ctx->fixed_gain[0] > 3.0 * ctx->fixed_gain[1]) {
719 * @param[in] fixed_gain Unsmoothed fixed gain
726 static float noise_enhancer(float fixed_gain, float *prev_tr_gain,
735 if (fixed_gain < *prev_tr_gain) {
736 g0 = FFMIN(*prev_tr_gain, fixed_gain + fixed_gain *
739 g0 = FFMAX(*prev_tr_gain, fixed_gain *
744 return sm_fac * g0 + (1 - sm_fac) * fixed_gain;
777 * @param[in] fixed_gain Fixed codebook gain for synthesis
782 float fixed_gain, const float *fixed_vector,
786 ctx->pitch_gain[0], fixed_gain, AMRWB_SFR_SIZE);
1095 memmove(&ctx->fixed_gain[1], &ctx->fixed_gain[0], 1 * sizeof(float));
1208 ctx->fixed_gain[0] =
1219 ctx->fixed_vector, ctx->fixed_gain[0],
1226 ctx->excitation[i] += ctx->fixed_gain[0] * ctx->fixed_vector[i];
1231 synth_fixed_gain = noise_enhancer(ctx->fixed_gain[0], &ctx->prev_tr_gain,