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
50 // number of bits used in interpolation multiply - 15 bits avoids overflow
62 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
65 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
389 int16_t *in = mBuffer.i16;
394 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
395 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
412 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
418 out[outputIndex++] += vl * Interp(in[inputIndex*2-2],
419 in[inputIndex*2], phaseFraction);
420 out[outputIndex++] += vr * Interp(in[inputIndex*2-1],
421 in[inputIndex*2+1], phaseFraction);
484 int16_t *in = mBuffer.i16;
489 int32_t sample = Interp(mX0L, in[0], phaseFraction);
508 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
514 int32_t sample = Interp(in[inputIndex-1], in[inputIndex],
553 * in : pointer on input samples
570 void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
583 (void)in;
603 // r1 in
629 " add r0, r1, r7, asl #1\n" /* in + inputIndex */\
630 " ldrsh r4, [r0]\n" /* in[inputIndex] */\
632 " ldrsh r0, [r0, #-2]\n" /* in[inputIndex-1] */\
634 " sub r4, r4, r0\n" /* in[inputIndex] - in[inputIndex-1] */\
674 * in : pointer on input samples
691 void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx,
704 (void)in;
723 // r1 in
749 " add r0, r1, r7, asl #2\n" /* in + 2*inputIndex */\
751 " ldrsh r4, [r0]\n" /* in[2*inputIndex] */\
753 " ldrsh r12, [r0, #-4]\n" /* in[2*inputIndex-2] */\
754 " sub r4, r4, r12\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\
762 " ldrsh r12, [r0, #+2]\n" /* in[2*inputIndex+1] */\
763 " ldrsh r0, [r0, #-2]\n" /* in[2*inputIndex-1] */\
764 " sub r12, r12, r0\n" /* in[2*InputIndex] - in[2*InputIndex-2] */\