Searched refs:outputIndex (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp61 size_t outputIndex = 0; local
76 while (outputIndex < outputSampleCount) {
82 out[outputIndex++] += vl * interp(&left, x);
83 out[outputIndex++] += vr * interp(&right, x);
84 // out[outputIndex++] += vr * in[inputIndex*2];
100 calculateOutputPTS(outputIndex / 2));
129 size_t outputIndex = 0; local
144 while (outputIndex < outputSampleCount) {
151 out[outputIndex++] += vl * sample;
152 out[outputIndex
[all...]
H A DAudioResampler.cpp63 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;
368 while (outputIndex < outputSampleCount) {
374 calculateOutputPTS(outputIndex / 2));
394 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
395 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
397 if (outputIndex == outputSampleCount) {
412 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
417 while (outputIndex < outputSampleCoun
[all...]
H A DAudioResamplerDyn.cpp499 size_t outputIndex = 0; local
518 while (outputIndex < outputSampleCount) {
519 //ALOGV("LOOP: inFrameCount:%d outputIndex:%d outFrameCount:%d"
521 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit);
531 calculateOutputPTS(outputIndex / OUTPUT_CHANNELS));
563 while (CC_LIKELY(outputIndex < outputSampleCount)) {
570 //ALOGV("LOOP2: inFrameCount:%d outputIndex:%d outFrameCount:%d"
572 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit);
575 &out[outputIndex],
580 outputIndex
[all...]
H A DAudioResamplerSinc.cpp547 size_t outputIndex = 0; local
551 while (outputIndex < outputSampleCount) {
556 calculateOutputPTS(outputIndex / 2));
586 while (CC_LIKELY(outputIndex < outputSampleCount)) {
587 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL);
588 outputIndex += 2;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java715 int outputIndex = mPingPong ? 1 : 0;
760 copyShaderProgram.process(mMask, mMaskVerify[outputIndex]);
772 mMaskVerifyProgram.process(maskVerifyInputs, mMaskVerify[outputIndex]);
773 mMaskVerify[outputIndex].generateMipMap();
774 mMaskVerify[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER,
781 copyShaderProgram.process(mMaskVerify[outputIndex], mMaskAverage);
813 mBgUpdateMeanProgram.process(meanUpdateInputs, mBgMean[outputIndex]);
814 mBgMean[outputIndex].generateMipMap();
815 mBgMean[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER,
821 mBgUpdateVarianceProgram.process(varianceUpdateInputs, mBgVariance[outputIndex]);
[all...]

Completed in 416 milliseconds