Lines Matching refs:outputIndex

63             size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
66 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
361 size_t outputIndex = 0; in resampleStereo16() local
368 while (outputIndex < outputSampleCount) { in resampleStereo16()
374 calculateOutputPTS(outputIndex / 2)); in resampleStereo16()
394 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16()
395 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); in resampleStereo16()
397 if (outputIndex == outputSampleCount) { in resampleStereo16()
412 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16()
417 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16()
418 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16()
420 out[outputIndex++] += vr * Interp(in[inputIndex*2-1], in resampleStereo16()
459 size_t outputIndex = 0; in resampleMono16() local
465 while (outputIndex < outputSampleCount) { in resampleMono16()
470 calculateOutputPTS(outputIndex / 2)); in resampleMono16()
490 out[outputIndex++] += vl * sample; in resampleMono16()
491 out[outputIndex++] += vr * sample; in resampleMono16()
493 if (outputIndex == outputSampleCount) { in resampleMono16()
508 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleMono16()
513 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleMono16()
516 out[outputIndex++] += vl * sample; in resampleMono16()
517 out[outputIndex++] += vr * sample; in resampleMono16()
571 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, in AsmMono16Loop() argument
576 (void)outputIndex; in AsmMono16Loop()
692 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, in AsmStereo16Loop() argument
697 (void)outputIndex; in AsmStereo16Loop()