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