Searched refs:outputIndex (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | AudioResamplerCubic.cpp | 62 size_t outputIndex = 0; in resampleStereo16() local 77 while (outputIndex < outputSampleCount) { in resampleStereo16() 83 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16() 84 out[outputIndex++] += vr * interp(&right, x); in resampleStereo16() 101 calculateOutputPTS(outputIndex / 2)); in resampleStereo16() 119 return outputIndex / 2 /* channels for stereo */; in resampleStereo16() 131 size_t outputIndex = 0; in resampleMono16() local 146 while (outputIndex < outputSampleCount) { in resampleMono16() 153 out[outputIndex++] += vl * sample; in resampleMono16() 154 out[outputIndex++] += vr * sample; in resampleMono16() [all …]
|
D | AudioResampler.cpp | 60 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 63 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr, 359 size_t outputIndex = 0; in resampleStereo16() local 366 while (outputIndex < outputSampleCount) { in resampleStereo16() 372 calculateOutputPTS(outputIndex / 2)); in resampleStereo16() 392 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16() 393 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); in resampleStereo16() 395 if (outputIndex == outputSampleCount) { in resampleStereo16() 410 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16() 415 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16() [all …]
|
D | AudioResamplerDyn.cpp | 499 size_t outputIndex = 0; in resample() local 518 while (outputIndex < outputSampleCount) { in resample() 531 calculateOutputPTS(outputIndex / OUTPUT_CHANNELS)); in resample() 563 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 575 &out[outputIndex], in resample() 580 outputIndex += OUTPUT_CHANNELS; in resample() 613 return outputIndex / OUTPUT_CHANNELS; in resample()
|
D | AudioResamplerSinc.cpp | 296 size_t outputIndex = 0; in resample() local 300 while (outputIndex < outputSampleCount) { in resample() 305 calculateOutputPTS(outputIndex / 2)); in resample() 335 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 336 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample() 337 outputIndex += 2; in resample() 361 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 …]
|