Searched refs:interp_coeff (Results 1 - 2 of 2) sorted by relevance

/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_dsp_simple.c87 dsp_coeff = &interp_coeff[fluid_phase_fract_to_tablerow(dsp_phase)];
H A Dfluid_dsp_float.c57 static fluid_real_t interp_coeff[FLUID_INTERP_MAX][4]; variable
82 interp_coeff[i][0] = (fluid_real_t)(x * (-0.5 + x * (1 - 0.5 * x)));
83 interp_coeff[i][1] = (fluid_real_t)(1.0 + x * x * (1.5 * x - 2.5));
84 interp_coeff[i][2] = (fluid_real_t)(x * (0.5 + x * (2.0 - 1.5 * x)));
85 interp_coeff[i][3] = (fluid_real_t)(0.5 * x * x * (x - 1.0));
340 coeffs = interp_coeff[fluid_phase_fract_to_tablerow (dsp_phase)];
355 coeffs = interp_coeff[fluid_phase_fract_to_tablerow (dsp_phase)];
375 coeffs = interp_coeff[fluid_phase_fract_to_tablerow (dsp_phase)];
392 coeffs = interp_coeff[fluid_phase_fract_to_tablerow (dsp_phase)];

Completed in 34 milliseconds