Home | History | Annotate | Download | only in audioflinger

Lines Matching full:clamp16

2416 static inline int16_t clamp16(int32_t sample)
2463 out[0] = clamp16(mul(out[0], vl >> 16) >> 12);
2476 out[0] = clamp16(mul(out[0], vl >> 16) >> 12);
2477 out[1] = clamp16(mul(out[1], vr >> 16) >> 12);
2486 out[0] = clamp16(mul(out[0], leftVol) >> 12);
2491 out[0] = clamp16(mul(out[0], leftVol) >> 12);
2492 out[1] = clamp16(mul(out[1], rightVol) >> 12);
6261 out[i] = clamp16((int32_t)out[i] + (int32_t)in[i]);