Lines Matching refs:saturate
46 static __inline int16_t saturate(int32_t amp) in saturate() function
59 static __inline int16_t saturate(int32_t val) in saturate() function
85 band->r[0] = saturate(band->s + d); in block4()
88 band->p[0] = saturate(band->sz + d); in block4()
93 wd1 = saturate(band->a[1] << 2); in block4()
113 ap1 = saturate(wd1 + wd2); in block4()
114 wd3 = saturate(15360 - band->ap[2]); in block4()
131 band->bp[i] = saturate(wd2 + wd3); in block4()
142 wd1 = saturate(band->d[i] + band->d[i]); in block4()
155 wd1 = saturate(band->r[1] + band->r[1]); in block4()
157 wd2 = saturate(band->r[2] + band->r[2]); in block4()
159 band->sp = saturate(wd1 + wd2); in block4()
162 band->s = saturate(band->sp + band->sz); in block4()
344 el = saturate(xlow - s->band[0].s); in g722_encode()
382 eh = saturate(xhigh - s->band[1].s); in g722_encode()