Lines Matching refs:iy
112 static void normalise_residual(int * OPUS_RESTRICT iy, celt_norm * OPUS_RESTRICT X, in normalise_residual() argument
130 X[i] = EXTRACT16(PSHR32(MULT16_16(g, iy[i]), k+1)); in normalise_residual()
134 static unsigned extract_collapse_mask(int *iy, int N, int B) in extract_collapse_mask() argument
148 collapse_mask |= (iy[i*N0+j]!=0)<<i; in extract_collapse_mask()
161 VARDECL(int, iy); in alg_quant()
176 ALLOC(iy, N, int); in alg_quant()
190 iy[j] = 0; in alg_quant()
225 iy[j] = MULT16_16_Q15(X[j],rcp); in alg_quant()
227 iy[j] = (int)floor(rcp*X[j]); in alg_quant()
229 y[j] = (celt_norm)iy[j]; in alg_quant()
233 pulsesLeft -= iy[j]; in alg_quant()
248 iy[0] += pulsesLeft; in alg_quant()
298 iy[best_id]++; in alg_quant()
306 iy[j] = -iy[j]; in alg_quant()
308 encode_pulses(iy, N, K, enc); in alg_quant()
311 normalise_residual(iy, X, N, yy, gain); in alg_quant()
315 collapse_mask = extract_collapse_mask(iy, N, B); in alg_quant()
328 VARDECL(int, iy); in alg_unquant()
333 ALLOC(iy, N, int); in alg_unquant()
334 decode_pulses(iy, N, K, dec); in alg_unquant()
338 Ryy = MAC16_16(Ryy, iy[i], iy[i]); in alg_unquant()
340 normalise_residual(iy, X, N, Ryy, gain); in alg_unquant()
342 collapse_mask = extract_collapse_mask(iy, N, B); in alg_unquant()