Lines Matching refs:wd2
75 int wd2; in block4() local
95 wd2 = (sg[0] == sg[1]) ? -wd1 : wd1; in block4()
96 if (wd2 > 32767) in block4()
97 wd2 = 32767; in block4()
99 ap2 = (wd2 >> 7) + ((sg[0] == sg[2]) ? 128 : -128); in block4()
111 wd2 = (band->a[1]*32640) >> 15; in block4()
113 ap1 = saturate(wd1 + wd2); in block4()
129 wd2 = (sgi == sg0) ? wd1 : -wd1; in block4()
131 band->bp[i] = saturate(wd2 + wd3); in block4()
157 wd2 = saturate(band->r[2] + band->r[2]); in block4()
158 wd2 = (band->a[2]*wd2) >> 15; in block4()
159 band->sp = saturate(wd1 + wd2); in block4()
280 int wd2; in g722_encode() local
359 wd2 = qm4[ril]; in g722_encode()
360 dlow = (s->band[0].det*wd2) >> 15; in g722_encode()
373 wd2 = 8 - (s->band[0].nb >> 11); in g722_encode()
374 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_encode()
391 wd2 = qm2[ihigh]; in g722_encode()
392 dhigh = (s->band[1].det*wd2) >> 15; in g722_encode()
407 wd2 = 10 - (s->band[1].nb >> 11); in g722_encode()
408 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_encode()