Home
last modified time | relevance | path

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

/system/bt/embdrv/g722/
Dg722_decode.cc79 int wd3; in block4() local
120 wd3 = __ssat16(15360 - band->ap[2]); in block4()
121 if (ap1 > wd3) in block4()
122 ap1 = wd3; in block4()
123 else if (ap1 < -wd3) in block4()
124 ap1 = -wd3; in block4()
136 wd3 = (band->b[i]*32640) >> 15; in block4()
137 band->bp[i] = __ssat16(wd2 + wd3); in block4()
276 int wd3; in g722_decode() local
354 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_decode()
[all …]
Dg722_encode.cc76 int wd3; in block4() local
114 wd3 = saturate(15360 - band->ap[2]); in block4()
115 if (ap1 > wd3) in block4()
116 ap1 = wd3; in block4()
117 else if (ap1 < -wd3) in block4()
118 ap1 = -wd3; in block4()
130 wd3 = (band->b[i]*32640) >> 15; in block4()
131 band->bp[i] = saturate(wd2 + wd3); in block4()
283 int wd3; in g722_encode() local
374 wd3 = (wd2 < 0) ? (ilb[wd1] << -wd2) : (ilb[wd1] >> wd2); in g722_encode()
[all …]