Home | History | Annotate | Download | only in audioflinger

Lines Matching defs:outputIndex

61             size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
189 size_t outputIndex = 0;
196 while (outputIndex < outputSampleCount) {
221 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
222 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
224 if (outputIndex == outputSampleCount)
238 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
243 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) {
244 out[outputIndex++] += vl * Interp(in[inputIndex*2-2],
246 out[outputIndex++] += vr * Interp(in[inputIndex*2-1],
251 // LOGE("loop done - outputIndex=%d, inputIndex=%d\n", outputIndex, inputIndex);
268 // LOGE("output buffer full - outputIndex=%d, inputIndex=%d\n", outputIndex, inputIndex);
285 size_t outputIndex = 0;
291 while (outputIndex < outputSampleCount) {
315 out[outputIndex++] += vl * sample;
316 out[outputIndex++] += vr * sample;
318 if (outputIndex == outputSampleCount)
332 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
337 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) {
340 out[outputIndex++] += vl * sample;
341 out[outputIndex++] += vr * sample;
346 // LOGE("loop done - outputIndex=%d, inputIndex=%d\n", outputIndex, inputIndex);
362 // LOGE("output buffer full - outputIndex=%d, inputIndex=%d\n", outputIndex, inputIndex);
380 * outputIndex : pointer on current output index
387 * outputIndex :
394 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
397 #define MO_PARAM5 "36" // offset of parameter 5 (outputIndex)
407 " ldr r0, [sp, #" MO_PARAM5 " + 0]\n" // &outputIndex
408 " ldr r0, [r0]\n" // outputIndex
444 " ldr r5, [r8]\n" /* out[outputIndex] */\
453 " ldr r4, [r8, #4]\n" /* out[outputIndex+1] */\
454 " str r5, [r8], #4\n" /* out[outputIndex++] = ... */\
457 " str r4, [r8], #4\n" /* out[outputIndex++] = ... */
474 " asr r8, #2\n" // new outputIndex
475 " ldr r0, [sp, #" MO_PARAM5 " + 0]\n" // &outputIndex
476 " str r8, [r0]\n" // save outputIndex
490 * outputIndex : pointer on current output index
497 * outputIndex :
504 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
507 #define ST_PARAM5 "40" // offset of parameter 5 (outputIndex)
516 " ldr r0, [sp, #" ST_PARAM5 " + 0]\n" // &outputIndex
517 " ldr r0, [r0]\n" // outputIndex
554 " ldr r5, [r8]\n" /* out[outputIndex] */\
561 " ldr r4, [r8, #4]\n" /* out[outputIndex+1] */\
562 " str r5, [r8], #4\n" /* out[outputIndex++] = ... */\
571 " str r4, [r8], #4\n" /* out[outputIndex++] = ... */\
591 " asr r8, #2\n" // new outputIndex
592 " ldr r0, [sp, #" ST_PARAM5 " + 0]\n" // &outputIndex
593 " str r8, [r0]\n" // save outputIndex