Home | History | Annotate | Download | only in libaudioprocessing

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 // number of bits used in interpolation multiply - 15 bits avoids overflow
63 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
66 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
373 int16_t *in = mBuffer.i16;
378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
379 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2],
403 in[inputIndex*2], phaseFraction);
404 out[outputIndex++] += vr * Interp(in[inputIndex*2-1],
405 in[inputIndex*2+1], phaseFraction);
468 int16_t *in = mBuffer.i16;
473 int32_t sample = Interp(mX0L, in[0], phaseFraction);
492 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
498 int32_t sample = Interp(in[inputIndex-1], in[inputIndex],
538 * in : pointer on input samples
555 void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
568 (void)in;
588 // r1 in
614 " add r0, r1, r7, asl #1\n" /* in + inputIndex */\
615 " ldrsh r4, [r0]\n" /* in[inputIndex] */\
617 " ldrsh r0, [r0, #-2]\n" /* in[inputIndex-1] */\
619 " sub r4, r4, r0\n" /* in[inputIndex] - in[inputIndex-1] */\
659 * in : pointer on input samples
676 void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
689 (void)in;
708 // r1 in
734 " add r0, r1, r7, asl #2\n" /* in + 2*inputIndex */\
736 " ldrsh r4, [r0]\n" /* in[2*inputIndex] */\
738 " ldrsh r12, [r0, #-4]\n" /* in[2*inputIndex-2] */\
739 " sub r4, r4, r12\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\
747 " ldrsh r12, [r0, #+2]\n" /* in[2*inputIndex+1] */\
748 " ldrsh r0, [r0, #-2]\n" /* in[2*inputIndex-1] */\
749 " sub r12, r12, r0\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\