Home
last modified time | relevance | path

Searched refs:wd2 (Results 1 – 2 of 2) sorted by relevance

/system/bt/embdrv/g722/
Dg722_decode.cc78 int wd2; in block4() local
100 wd2 = (sg[0] == sg[1]) ? -wd1 : wd1; in block4()
101 if (wd2 > 32767) in block4()
102 wd2 = 32767; in block4()
105 ap2 += (wd2 >> 7); in block4()
117 wd2 = (band->a[1]*32640) >> 15; in block4()
119 ap1 = __ssat16(wd1 + wd2); in block4()
135 wd2 = (sgi == sg0) ? wd1 : -wd1; in block4()
137 band->bp[i] = __ssat16(wd2 + wd3); in block4()
163 wd2 = __ssat16(band->r[2] + band->r[2]); in block4()
[all …]
Dg722_encode.cc75 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()
[all …]