Lines Matching refs:band
73 static void block4(g722_band_t *band, int d);
75 static void block4(g722_band_t *band, int d) in block4() argument
87 band->d[0] = d; in block4()
88 band->r[0] = __ssat16(band->s + d); in block4()
91 band->p[0] = __ssat16(band->sz + d); in block4()
96 sg[i] = band->p[i] >> 15; in block4()
98 wd1 = __ssat16(band->a[1] << 2); in block4()
106 ap2 += (band->a[2]*32512) >> 15; in block4()
111 band->ap[2] = ap2; in block4()
114 sg[0] = band->p[0] >> 15; in block4()
115 sg[1] = band->p[1] >> 15; in block4()
117 wd2 = (band->a[1]*32640) >> 15; in block4()
120 wd3 = __ssat16(15360 - band->ap[2]); in block4()
125 band->ap[1] = ap1; in block4()
134 sgi = band->d[i] >> 15; in block4()
136 wd3 = (band->b[i]*32640) >> 15; in block4()
137 band->bp[i] = __ssat16(wd2 + wd3); in block4()
146 band->d[i] = band->d[i - 1]; in block4()
147 bi = band->b[i] = band->bp[i]; in block4()
148 wd1 = __ssat16(band->d[i] + band->d[i]); in block4()
151 band->sz = sz; in block4()
155 band->r[i] = band->r[i - 1]; in block4()
156 band->p[i] = band->p[i - 1]; in block4()
157 band->a[i] = band->ap[i]; in block4()
161 wd1 = __ssat16(band->r[1] + band->r[1]); in block4()
162 wd1 = (band->a[1]*wd1) >> 15; in block4()
163 wd2 = __ssat16(band->r[2] + band->r[2]); in block4()
164 wd2 = (band->a[2]*wd2) >> 15; in block4()
165 band->sp = __ssat16(wd1 + wd2); in block4()
168 band->s = __ssat16(band->sp + band->sz); in block4()
189 s->band[0].det = 32; in g722_decode_init()
190 s->band[1].det = 8; in g722_decode_init()
317 wd2 = (s->band[0].det*wd2) >> 15; in g722_decode()
319 rlow = s->band[0].s + wd2; in g722_decode()
335 dlowt = (s->band[0].det*wd2) >> 15; in g722_decode()
339 wd1 = (s->band[0].nb*127) >> 7; in g722_decode()
349 s->band[0].nb = wd1; in g722_decode()
352 wd1 = (s->band[0].nb >> 6) & 31; in g722_decode()
353 wd2 = 8 - (s->band[0].nb >> 11); in g722_decode()
355 s->band[0].det = wd3 << 2; in g722_decode()
357 block4(&s->band[0], dlowt); in g722_decode()
361 dhigh = (s->band[1].det*wd2) >> 15; in g722_decode()
363 rhigh = dhigh + s->band[1].s; in g722_decode()
376 wd1 = (s->band[1].nb*127) >> 7; in g722_decode()
382 s->band[1].nb = wd1; in g722_decode()
385 wd1 = (s->band[1].nb >> 6) & 31; in g722_decode()
386 wd2 = 10 - (s->band[1].nb >> 11); in g722_decode()
388 s->band[1].det = wd3 << 2; in g722_decode()
390 block4(&s->band[1], dhigh); in g722_decode()