Lines Matching refs:fixed_vector

67     float           fixed_vector[AMRWB_SFR_SIZE]; ///< algebraic codebook (fixed) vector for current subframe
498 * @param[out] fixed_vector Buffer for the fixed codebook excitation
503 static void decode_fixed_vector(float *fixed_vector, const uint16_t *pulse_hi,
556 memset(fixed_vector, 0, sizeof(float) * AMRWB_SFR_SIZE);
562 fixed_vector[pos] += sig_pos[i][j] < 0 ? -1.0 : 1.0;
588 * @param[in,out] fixed_vector Fixed codebook excitation
592 static void pitch_sharpening(AMRWBContext *ctx, float *fixed_vector)
598 fixed_vector[i] -= fixed_vector[i - 1] * ctx->tilt_coef;
602 fixed_vector[i] += fixed_vector[i - ctx->pitch_lag_int] * 0.85;
633 * @param[in,out] fixed_vector Unfiltered fixed vector
639 float *fixed_vector, float *buf)
644 return fixed_vector;
689 if (fixed_vector[i])
690 ff_celp_circ_addf(buf, buf, coef, i, fixed_vector[i],
692 fixed_vector = buf;
695 return fixed_vector;
748 * Filter the fixed_vector to emphasize the higher frequencies.
750 * @param[in,out] fixed_vector Fixed codebook vector
753 static void pitch_enhancer(float *fixed_vector, float voice_fac)
757 float last = fixed_vector[0]; // holds c(i - 1)
759 fixed_vector[0] -= cpe * fixed_vector[1];
762 float cur = fixed_vector[i];
764 fixed_vector[i] -= cpe * (last + fixed_vector[i + 1]);
768 fixed_vector[AMRWB_SFR_SIZE - 1] -= cpe * last;
778 * @param[in] fixed_vector Algebraic codebook vector
782 float fixed_gain, const float *fixed_vector,
785 ctx->acelpv_ctx.weighted_vector_sumf(excitation, ctx->pitch_vector, fixed_vector,
1200 decode_fixed_vector(ctx->fixed_vector, cur_subframe->pul_ih,
1203 pitch_sharpening(ctx, ctx->fixed_vector);
1210 ctx->celpm_ctx.dot_productf(ctx->fixed_vector,
1211 ctx->fixed_vector,
1219 ctx->fixed_vector, ctx->fixed_gain[0],
1226 ctx->excitation[i] += ctx->fixed_gain[0] * ctx->fixed_vector[i];
1234 synth_fixed_vector = anti_sparseness(ctx, ctx->fixed_vector,