Lines Matching refs:iy
117 static void normalise_residual(int * OPUS_RESTRICT iy, celt_norm * OPUS_RESTRICT X, in normalise_residual() argument
135 X[i] = EXTRACT16(PSHR32(MULT16_16(g, iy[i]), k+1)); in normalise_residual()
139 static unsigned extract_collapse_mask(int *iy, int N, int B) in extract_collapse_mask() argument
154 tmp |= iy[i*N0+j]; in extract_collapse_mask()
161 opus_val16 op_pvq_search_c(celt_norm *X, int *iy, int K, int N, int arch) in op_pvq_search_c() argument
182 iy[j] = 0; in op_pvq_search_c()
222 iy[j] = MULT16_16_Q15(X[j],rcp); in op_pvq_search_c()
224 iy[j] = (int)floor(rcp*X[j]); in op_pvq_search_c()
226 y[j] = (celt_norm)iy[j]; in op_pvq_search_c()
230 pulsesLeft -= iy[j]; in op_pvq_search_c()
245 iy[0] += pulsesLeft; in op_pvq_search_c()
311 iy[best_id]++; in op_pvq_search_c()
320 iy[j] = (iy[j]^-signx[j]) + signx[j]; in op_pvq_search_c()
329 VARDECL(int, iy); in alg_quant()
338 ALLOC(iy, N+3, int); in alg_quant()
342 yy = op_pvq_search(X, iy, K, N, arch); in alg_quant()
344 encode_pulses(iy, N, K, enc); in alg_quant()
348 normalise_residual(iy, X, N, yy, gain); in alg_quant()
352 collapse_mask = extract_collapse_mask(iy, N, B); in alg_quant()
364 VARDECL(int, iy); in alg_unquant()
369 ALLOC(iy, N, int); in alg_unquant()
370 Ryy = decode_pulses(iy, N, K, dec); in alg_unquant()
371 normalise_residual(iy, X, N, Ryy, gain); in alg_unquant()
373 collapse_mask = extract_collapse_mask(iy, N, B); in alg_unquant()