Lines Matching refs:q1

188 	long c, d, q0, q1, q2;  in capidtmf_goertzel_loop()  local
192 q1 = buffer[i]; in capidtmf_goertzel_loop()
200 … q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15); in capidtmf_goertzel_loop()
201 q2 = q1; in capidtmf_goertzel_loop()
202 q1 = q0; in capidtmf_goertzel_loop()
211 …q0 = sample[j] - q2 - ((c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15)); in capidtmf_goertzel_loop()
212 q2 = q1; in capidtmf_goertzel_loop()
213 q1 = q0; in capidtmf_goertzel_loop()
216 buffer[i] = q1; in capidtmf_goertzel_loop()
219 q1 = buffer[i]; in capidtmf_goertzel_loop()
226 …q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword)(c >> 1)) * ((dword)(q1 & 0xffff)))) >>… in capidtmf_goertzel_loop()
227 q2 = q1; in capidtmf_goertzel_loop()
228 q1 = q0; in capidtmf_goertzel_loop()
237 …q0 = sample[j] - q2 - ((c * (q1 >> 16)) + (((dword)(((dword)(c >> 1)) * ((dword)(q1 & 0xffff)))) >… in capidtmf_goertzel_loop()
238 q2 = q1; in capidtmf_goertzel_loop()
239 q1 = q0; in capidtmf_goertzel_loop()
244 buffer[i] = q1; in capidtmf_goertzel_loop()
252 long d, e, q1, q2, lo, mid, hi; in capidtmf_goertzel_result() local
257 q1 = buffer[i]; in capidtmf_goertzel_result()
261 d = ((d << 1) * (-q1 >> 16)) + (((dword)(((dword) d) * ((dword)(-q1 & 0xffff)))) >> 15); in capidtmf_goertzel_result()
263 d = ((-d << 1) * (-q1 >> 16)) + (((dword)(((dword) -d) * ((dword)(-q1 & 0xffff)))) >> 15); in capidtmf_goertzel_result()
298 d = (q1 >= 0) ? q1 : -q1; in capidtmf_goertzel_result()