Lines Matching refs:wd1
62 int wd1; in block4() local
77 wd1 = saturate(s->band[band].a[1] << 2); in block4()
79 wd2 = (s->band[band].sg[0] == s->band[band].sg[1]) ? -wd1 : wd1; in block4()
93 wd1 = (s->band[band].sg[0] == s->band[band].sg[1]) ? 192 : -192; in block4()
96 s->band[band].ap[1] = saturate(wd1 + wd2); in block4()
104 wd1 = (d == 0) ? 0 : 128; in block4()
109 wd2 = (s->band[band].sg[i] == s->band[band].sg[0]) ? wd1 : -wd1; in block4()
129 wd1 = saturate(s->band[band].r[1] + s->band[band].r[1]); in block4()
130 wd1 = (s->band[band].a[1]*wd1) >> 15; in block4()
133 s->band[band].sp = saturate(wd1 + wd2); in block4()
139 wd1 = saturate(s->band[band].d[i] + s->band[band].d[i]); in block4()
140 s->band[band].sz += (s->band[band].b[i]*wd1) >> 15; in block4()
264 int wd1; in WebRtc_g722_encode() local
342 wd1 = (q6[i]*s->band[0].det) >> 12; in WebRtc_g722_encode()
343 if (wd < wd1) in WebRtc_g722_encode()
363 wd1 = (s->band[0].nb >> 6) & 31; in WebRtc_g722_encode()
365 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in WebRtc_g722_encode()
382 wd1 = (564*s->band[1].det) >> 12; in WebRtc_g722_encode()
383 mih = (wd >= wd1) ? 2 : 1; in WebRtc_g722_encode()
400 wd1 = (s->band[1].nb >> 6) & 31; in WebRtc_g722_encode()
402 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in WebRtc_g722_encode()