Searched refs:outputIndex (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
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; in resampleStereo16() local 353 while (outputIndex < outputSampleCount) { in resampleStereo16() 378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16() 379 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); in resampleStereo16() 381 if (outputIndex == outputSampleCount) { in resampleStereo16() 396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16() 401 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16() 402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16() [all …]
|
D | AudioResamplerCubic.cpp | 62 size_t outputIndex = 0; in resampleStereo16() local 77 while (outputIndex < outputSampleCount) { in resampleStereo16() 82 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16() 83 out[outputIndex++] += vr * interp(&right, x); in resampleStereo16() 117 return outputIndex / 2 /* channels for stereo */; in resampleStereo16() 129 size_t outputIndex = 0; in resampleMono16() local 144 while (outputIndex < outputSampleCount) { in resampleMono16() 151 out[outputIndex++] += vl * sample; in resampleMono16() 152 out[outputIndex++] += vr * sample; in resampleMono16() 184 return outputIndex; in resampleMono16()
|
D | AudioResamplerDyn.cpp | 508 size_t outputIndex = 0; in resample() local 527 while (outputIndex < outputSampleCount) { in resample() 574 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 586 &out[outputIndex], in resample() 591 outputIndex += OUTPUT_CHANNELS; in resample() 624 return outputIndex / OUTPUT_CHANNELS; in resample()
|
D | AudioResamplerSinc.cpp | 304 size_t outputIndex = 0; in resample() local 308 while (outputIndex < outputSampleCount) { in resample() 342 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample() 344 outputIndex += 2; in resample() 368 return outputIndex / CHANNELS; in resample()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 715 int outputIndex = mPingPong ? 1 : 0; in process() local 760 copyShaderProgram.process(mMask, mMaskVerify[outputIndex]); in process() 772 mMaskVerifyProgram.process(maskVerifyInputs, mMaskVerify[outputIndex]); in process() 773 mMaskVerify[outputIndex].generateMipMap(); in process() 774 mMaskVerify[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER, in process() 781 copyShaderProgram.process(mMaskVerify[outputIndex], mMaskAverage); in process() 813 mBgUpdateMeanProgram.process(meanUpdateInputs, mBgMean[outputIndex]); in process() 814 mBgMean[outputIndex].generateMipMap(); in process() 815 mBgMean[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER, in process() 821 mBgUpdateVarianceProgram.process(varianceUpdateInputs, mBgVariance[outputIndex]); in process() [all …]
|