Lines Matching refs:k

98             for (int k = 0; k < 9; k++)  in compute_lpc_coeffs()  local
99 c[k][s] = dot(xs, xs + k, (xe - xs) - k); in compute_lpc_coeffs()
105 for (int k = 1; k < 9; k++) in compute_lpc_coeffs() local
106 r[f][k] = e0 == 0 || e1 == 0 || e2 == 0 ? 0 : in compute_lpc_coeffs()
107 (c[k][0]/e0 + c[k][1]/e1 + c[k][2]/e2) * lag_window[k]; in compute_lpc_coeffs()
119 for (int k = 1; k < 9; ) { in compute_lpc_coeffs() local
121 rc = -r[f][k]; in compute_lpc_coeffs()
122 for (int i = 1; i < k; i++) in compute_lpc_coeffs()
123 rc -= a0[i] * r[f][k-i]; in compute_lpc_coeffs()
128 for (int i = 1; i < k; i++) in compute_lpc_coeffs()
129 a1[i] = a0[i] + rc * a0[k-i]; in compute_lpc_coeffs()
130 a1[k++] = rc; in compute_lpc_coeffs()
132 rc = -r[f][k]; in compute_lpc_coeffs()
133 for (int i = 1; i < k; i++) in compute_lpc_coeffs()
134 rc -= a1[i] * r[f][k-i]; in compute_lpc_coeffs()
139 for (int i = 1; i < k; i++) in compute_lpc_coeffs()
140 a0[i] = a1[i] + rc * a1[k-i]; in compute_lpc_coeffs()
141 a0[k++] = rc; in compute_lpc_coeffs()
177 for (int k = 6; k > 0; k--) { in lpc_reflection() local
178 b0 = b1, b1 = b[k & 1]; in lpc_reflection()
180 rc[k] = b0[k]; in lpc_reflection()
181 e = 1 - rc[k] * rc[k]; in lpc_reflection()
183 for (int i = 0; i < k; i++) in lpc_reflection()
184 b1[i] = (b0[i] - rc[k] * b0[k-1-i]) / e; in lpc_reflection()
277 for (int k = 0; k < rc_order[f]; k++) { in forward_filtering() local
278 s0 = s[k]; in forward_filtering()
279 s[k] = s1; in forward_filtering()
281 s1 = rc[f][k] * xi + s0; in forward_filtering()
282 xi += rc[f][k] * s0; in forward_filtering()
318 for (int k = 6; k >= 0; k--) { in inverse_filtering() local
319 xi -= s[k] * rc[f][k]; in inverse_filtering()
320 s[k+1] = s[k] + rc[f][k] * xi; in inverse_filtering()
326 for (int k = 7; k >= rc_order[f]; k--) in inverse_filtering() local
327 s[k] = 0; in inverse_filtering()