Lines Matching refs:wd1
77 int wd1; in block4() local
98 wd1 = __ssat16(band->a[1] << 2); in block4()
100 wd2 = (sg[0] == sg[1]) ? -wd1 : wd1; in block4()
116 wd1 = (sg[0] == sg[1]) ? 192 : -192; in block4()
119 ap1 = __ssat16(wd1 + wd2); in block4()
129 wd1 = (d == 0) ? 0 : 128; in block4()
135 wd2 = (sgi == sg0) ? wd1 : -wd1; in block4()
148 wd1 = __ssat16(band->d[i] + band->d[i]); in block4()
149 sz += (bi*wd1) >> 15; in block4()
161 wd1 = __ssat16(band->r[1] + band->r[1]); in block4()
162 wd1 = (band->a[1]*wd1) >> 15; in block4()
165 band->sp = __ssat16(wd1 + wd2); in block4()
274 int wd1; in g722_decode() local
302 wd1 = code & 0x3F; in g722_decode()
304 wd2 = qm6[wd1]; in g722_decode()
305 wd1 >>= 2; in g722_decode()
307 wd1 = code & 0x1F; in g722_decode()
309 wd2 = qm5[wd1]; in g722_decode()
310 wd1 >>= 1; in g722_decode()
312 wd1 = code & 0x0F; in g722_decode()
314 wd2 = qm4[wd1]; in g722_decode()
334 wd2 = qm4[wd1]; in g722_decode()
338 wd2 = rl42[wd1]; in g722_decode()
339 wd1 = (s->band[0].nb*127) >> 7; in g722_decode()
340 wd1 += wl[wd2]; in g722_decode()
341 if (wd1 < 0) in g722_decode()
343 wd1 = 0; in g722_decode()
345 else if (wd1 > 18432) in g722_decode()
347 wd1 = 18432; in g722_decode()
349 s->band[0].nb = wd1; in g722_decode()
352 wd1 = (s->band[0].nb >> 6) & 31; in g722_decode()
354 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_decode()
376 wd1 = (s->band[1].nb*127) >> 7; in g722_decode()
377 wd1 += wh[wd2]; in g722_decode()
378 if (wd1 < 0) in g722_decode()
379 wd1 = 0; in g722_decode()
380 else if (wd1 > 22528) in g722_decode()
381 wd1 = 22528; in g722_decode()
382 s->band[1].nb = wd1; in g722_decode()
385 wd1 = (s->band[1].nb >> 6) & 31; in g722_decode()
387 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_decode()