Searched refs:outputIndex (Results 1 - 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerCubic.cpp | 62 size_t outputIndex = 0; local 77 while (outputIndex < outputSampleCount) { 82 out[outputIndex++] += vl * interp(&left, x); 83 out[outputIndex++] += vr * interp(&right, x); 84 // out[outputIndex++] += vr * in[inputIndex*2]; 117 return outputIndex / 2 /* channels for stereo */; 129 size_t outputIndex = 0; local 144 while (outputIndex < outputSampleCount) { 151 out[outputIndex++] += vl * sample; 152 out[outputIndex [all...] |
H A D | AudioResampler.cpp | 64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 67 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 346 size_t outputIndex = 0; 353 while (outputIndex < outputSampleCount) { 378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 379 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 381 if (outputIndex == outputSampleCount) { 396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 401 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { 402 out[outputIndex [all...] |
H A D | AudioResamplerDyn.cpp | 508 size_t outputIndex = 0; local 527 while (outputIndex < outputSampleCount) { 528 //ALOGV("LOOP: inFrameCount:%d outputIndex:%d outFrameCount:%d" 530 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit); 574 while (CC_LIKELY(outputIndex < outputSampleCount)) { 581 //ALOGV("LOOP2: inFrameCount:%d outputIndex:%d outFrameCount:%d" 583 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit); 586 &out[outputIndex], 591 outputIndex += OUTPUT_CHANNELS; 624 return outputIndex / OUTPUT_CHANNEL [all...] |
H A D | AudioResamplerSinc.cpp | 304 size_t outputIndex = 0; local 308 while (outputIndex < outputSampleCount) { 342 while (CC_LIKELY(outputIndex < outputSampleCount)) { 343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); 344 outputIndex += 2; 368 return outputIndex / CHANNELS;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
H A D | BackDropperFilter.java | 715 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 371 milliseconds