Home | History | Annotate | Download | only in audioflinger

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
48 // number of bits used in interpolation multiply - 15 bits avoids overflow
60 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
63 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
370 int16_t *in = mBuffer.i16;
375 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
376 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
393 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
399 out[outputIndex++] += vl * Interp(in[inputIndex*2-2],
400 in[inputIndex*2], phaseFraction);
401 out[outputIndex++] += vr * Interp(in[inputIndex*2-1],
402 in[inputIndex*2+1], phaseFraction);
465 in = mBuffer.i16;
470 int32_t sample = Interp(mX0L, in[0], phaseFraction);
489 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
495 int32_t sample = Interp(in[inputIndex-1], in[inputIndex],
535 * in : pointer on input samples
552 void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
565 (void)in;
585 // r1 in
611 " add r0, r1, r7, asl #1\n" /* in + inputIndex */\
612 " ldrsh r4, [r0]\n" /* in[inputIndex] */\
614 " ldrsh r0, [r0, #-2]\n" /* in[inputIndex-1] */\
616 " sub r4, r4, r0\n" /* in[inputIndex] - in[inputIndex-1] */\
656 * in : pointer on input samples
673 void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
686 (void)in;
705 // r1 in
731 " add r0, r1, r7, asl #2\n" /* in + 2*inputIndex */\
733 " ldrsh r4, [r0]\n" /* in[2*inputIndex] */\
735 " ldrsh r12, [r0, #-4]\n" /* in[2*inputIndex-2] */\
736 " sub r4, r4, r12\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\
744 " ldrsh r12, [r0, #+2]\n" /* in[2*inputIndex+1] */\
745 " ldrsh r0, [r0, #-2]\n" /* in[2*inputIndex-1] */\
746 " sub r12, r12, r0\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\