Searched refs:inputIndex (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.cpp | 58 size_t inputIndex = mInputIndex; local 83 // out[outputIndex++] += vr * in[inputIndex*2]; 93 inputIndex++; 94 if (inputIndex == mBuffer.frameCount) { 95 inputIndex = 0; 107 advance(&left, in[inputIndex*2]); 108 advance(&right, in[inputIndex*2+1]); 113 // ALOGW("Done: index=%d, fraction=%u", inputIndex, phaseFraction); 114 mInputIndex = inputIndex; 124 size_t inputIndex local [all...] |
H A D | AudioResampler.cpp | 61 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, 307 size_t inputIndex = mInputIndex; 314 // ALOGE("starting resample %d frames, inputIndex=%d, phaseFraction=%d, phaseIncrement=%d", 315 // outFrameCount, inputIndex, phaseFraction, phaseIncrement); 329 if (mBuffer.frameCount > inputIndex) break; 331 inputIndex -= mBuffer.frameCount; 341 while (inputIndex == 0) { 345 Advance(&inputIndex, &phaseFraction, phaseIncrement); 354 if (inputIndex [all...] |
H A D | AudioResamplerSinc.cpp | 284 size_t inputIndex = mInputIndex; local 303 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 306 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 307 inputIndex++; 308 if (inputIndex >= mBuffer.frameCount) { 309 inputIndex -= mBuffer.frameCount; 312 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 321 head[0] = in[inputIndex*CHANNELS + 0]; 323 head[1] = in[inputIndex*CHANNELS + 1]; 335 inputIndex 374 read( int16_t*& impulse, uint32_t& phaseFraction, const int16_t* in, size_t inputIndex) argument [all...] |
H A D | AudioResamplerSinc.h | 62 const int16_t* in, size_t inputIndex);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
H A D | BackDropperFilter.java | 716 int inputIndex = mPingPong ? 0 : 1; 738 copyShaderProgram.process(mVideoInput, mBgMean[inputIndex]); 743 Frame[] distInputs = { mVideoInput, mBgMean[inputIndex], mBgVariance[inputIndex] }; 773 Frame[] maskVerifyInputs = {mMaskVerify[inputIndex], mMask}; 814 Frame[] meanUpdateInputs = { mVideoInput, mBgMean[inputIndex], mMask }; 821 mVideoInput, mBgMean[inputIndex], mBgVariance[inputIndex], mMask
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 979 int inputIndex = 0; 981 while (inputIndex < inputLength) { 983 input.substring(inputIndex, inputIndex + 2), 16); 984 inputIndex += 2;
|
Completed in 186 milliseconds