Searched refs:mag2 (Results 1 – 5 of 5) sorted by relevance
76 float mag2 = dx * dx + dy * dy; in Length() local77 if (SkScalarIsFinite(mag2)) { in Length()78 return sk_float_sqrt(mag2); in Length()
250 gdouble mag2 = rp * rp + ip * ip; in generate_biquad_coefficients() local252 rp /= mag2; in generate_biquad_coefficients()253 ip /= mag2; in generate_biquad_coefficients()260 gdouble mag2; in generate_biquad_coefficients() local263 mag2 = iz * iz; in generate_biquad_coefficients()264 iz /= mag2; in generate_biquad_coefficients()
258 gdouble mag2 = rp * rp + ip * ip; in generate_biquad_coefficients() local260 rp /= mag2; in generate_biquad_coefficients()261 ip /= mag2; in generate_biquad_coefficients()268 gdouble mag2; in generate_biquad_coefficients() local271 mag2 = iz * iz; in generate_biquad_coefficients()272 iz /= mag2; in generate_biquad_coefficients()
937 double mag2, var = 0.0, avr = 0.0, avi = 0.0; in sample_noise_block() local984 mag2 = dnch->fft_data[n].re * dnch->fft_data[n].re + in sample_noise_block()987 mag2 = fmax(mag2, s->sample_floor); in sample_noise_block()989 dnch->noisy_data[i] = mag2; in sample_noise_block()990 var += mag2; in sample_noise_block()