/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, 343 size_t inputIndex = mInputIndex; in resampleStereo16() local 364 if (mBuffer.frameCount > inputIndex) break; in resampleStereo16() 366 inputIndex -= mBuffer.frameCount; in resampleStereo16() 376 while (inputIndex == 0) { in resampleStereo16() 380 Advance(&inputIndex, &phaseFraction, phaseIncrement); in resampleStereo16() 390 if (inputIndex + 2 < mBuffer.frameCount) { in resampleStereo16() 396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16() 401 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16() [all …]
|
D | AudioResamplerCubic.cpp | 59 size_t inputIndex = mInputIndex; in resampleStereo16() local 94 inputIndex++; in resampleStereo16() 95 if (inputIndex == mBuffer.frameCount) { in resampleStereo16() 96 inputIndex = 0; in resampleStereo16() 108 advance(&left, in[inputIndex*2]); in resampleStereo16() 109 advance(&right, in[inputIndex*2+1]); in resampleStereo16() 115 mInputIndex = inputIndex; in resampleStereo16() 126 size_t inputIndex = mInputIndex; in resampleMono16() local 162 inputIndex++; in resampleMono16() 163 if (inputIndex == mBuffer.frameCount) { in resampleMono16() [all …]
|
D | AudioResamplerDyn.cpp | 134 const TI* const in, const size_t inputIndex) in readAgain() argument 138 head[i] = in[inputIndex*CHANNELS + i]; in readAgain() 146 const TI* const in, const size_t inputIndex) in readAdvance() argument 155 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance() 577 size_t inputIndex = 0; in resample() local 605 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample() 606 inputIndex, mBuffer.frameCount); in resample() 622 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample() 623 inputIndex++; in resample() 626 if (inputIndex >= mBuffer.frameCount) { in resample() [all …]
|
D | AudioResamplerSinc.cpp | 301 size_t inputIndex = mInputIndex; in resample() local 319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 323 inputIndex++; in resample() 324 if (inputIndex >= mBuffer.frameCount) { in resample() 325 inputIndex -= mBuffer.frameCount; in resample() 328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 338 head[i] = in[inputIndex*CHANNELS + i]; in resample() 349 inputIndex++; in resample() 350 if (inputIndex >= frameCount) { in resample() [all …]
|
D | AudioResamplerDyn.h | 126 const TI* const in, const size_t inputIndex); 130 const TI* const in, const size_t inputIndex);
|
D | AudioResamplerSinc.h | 65 const int16_t* in, size_t inputIndex);
|
/frameworks/ml/nn/runtime/ |
D | ExecutionBuilder.h | 148 int setInputFromTemporaryMemory(uint32_t inputIndex, const Memory* memory, uint32_t offset) { in setInputFromTemporaryMemory() argument 149 return setInputOrOutputFromTemporaryMemory(mModel->getInputOperand(inputIndex), in setInputFromTemporaryMemory() 151 &mInputs.at(inputIndex)); in setInputFromTemporaryMemory()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 714 int inputIndex = mPingPong ? 0 : 1; in process() local 736 copyShaderProgram.process(mVideoInput, mBgMean[inputIndex]); in process() 741 Frame[] distInputs = { mVideoInput, mBgMean[inputIndex], mBgVariance[inputIndex] }; in process() 771 Frame[] maskVerifyInputs = {mMaskVerify[inputIndex], mMask}; in process() 812 Frame[] meanUpdateInputs = { mVideoInput, mBgMean[inputIndex], mMask }; in process() 819 mVideoInput, mBgMean[inputIndex], mBgVariance[inputIndex], mMask in process()
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioningRandom.cpp | 392 int makeRnnSpecialInput(unsigned problemSize, TestModel* model, unsigned inputIndex) { in makeRnnSpecialInput() argument 393 if (inputIndex != 3) { in makeRnnSpecialInput() 1076 uint32_t inputIndex = 0, outputIndex = 0; in TEST_P() local 1080 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() 1084 e->setInput(inputIndex++, desc.mVector.data(), in TEST_P() 1102 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() 1106 e->setInputFromMemory(inputIndex++, memory, offset, length); in TEST_P() 1116 assert(inputIndex == model.inputCount()); in TEST_P()
|