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

/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp61 size_t outputIndex = 0; local
75 while (outputIndex < outputSampleCount) {
81 out[outputIndex++] += vl * interp(&left, x);
82 out[outputIndex++] += vr * interp(&right, x);
83 // out[outputIndex++] += vr * in[inputIndex*2];
99 calculateOutputPTS(outputIndex / 2));
127 size_t outputIndex = 0; local
141 while (outputIndex < outputSampleCount) {
148 out[outputIndex++] += vl * sample;
149 out[outputIndex
[all...]
H A DAudioResampler.cpp61 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,
310 size_t outputIndex = 0;
317 while (outputIndex < outputSampleCount) {
323 calculateOutputPTS(outputIndex / 2));
343 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
344 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
346 if (outputIndex == outputSampleCount)
360 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
365 while (outputIndex < outputSampleCoun
[all...]
H A DAudioResamplerSinc.cpp287 size_t outputIndex = 0; local
291 while (outputIndex < outputSampleCount) {
296 calculateOutputPTS(outputIndex / 2));
327 while (outputIndex < outputSampleCount) {
329 out[outputIndex++] += 2 * mulRL(1, l, vRL);
330 out[outputIndex++] += 2 * mulRL(0, r, vRL);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java717 int outputIndex = mPingPong ? 1 : 0;
762 copyShaderProgram.process(mMask, mMaskVerify[outputIndex]);
774 mMaskVerifyProgram.process(maskVerifyInputs, mMaskVerify[outputIndex]);
775 mMaskVerify[outputIndex].generateMipMap();
776 mMaskVerify[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER,
783 copyShaderProgram.process(mMaskVerify[outputIndex], mMaskAverage);
815 mBgUpdateMeanProgram.process(meanUpdateInputs, mBgMean[outputIndex]);
816 mBgMean[outputIndex].generateMipMap();
817 mBgMean[outputIndex].setTextureParameter(GLES20.GL_TEXTURE_MIN_FILTER,
823 mBgUpdateVarianceProgram.process(varianceUpdateInputs, mBgVariance[outputIndex]);
[all...]

Completed in 37 milliseconds