Searched refs:cos_w0 (Results 1 – 1 of 1) sorted by relevance
123 double cos_w0, sin_w0; in biquad_init_coeffs() local137 cos_w0 = cos(M_PI * cutoff_ratio); in biquad_init_coeffs()143 c->gain = ((1.0 + cos_w0) / 2.0) / a0; in biquad_init_coeffs()144 x0 = ((1.0 + cos_w0) / 2.0) / a0; in biquad_init_coeffs()145 x1 = (-(1.0 + cos_w0)) / a0; in biquad_init_coeffs()147 c->gain = ((1.0 - cos_w0) / 2.0) / a0; in biquad_init_coeffs()148 x0 = ((1.0 - cos_w0) / 2.0) / a0; in biquad_init_coeffs()149 x1 = (1.0 - cos_w0) / a0; in biquad_init_coeffs()152 c->cy[1] = (2.0 * cos_w0) / a0; in biquad_init_coeffs()