Home | History | Annotate | Download | only in Reverb

Lines Matching refs:clamp16

385 static inline int16_t clamp16(int32_t sample)
481 OutFrames16[i] = clamp16(pContext->OutFrames32[i]>>8);
485 OutFrames16[i] = clamp16((pContext->OutFrames32[i]>>8) + (LVM_INT32)pIn[i]);
499 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12);
501 clamp16((LVM_INT32)((vr >> 16) * OutFrames16[2*i+1]) >> 12);
514 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12);
516 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12);
534 pOut[i] = clamp16((int32_t)pOut[i] + (int32_t)OutFrames16[i]);