/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() 631 size_t inputIndex = 0; in resample() local 659 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample() 660 inputIndex, mBuffer.frameCount); in resample() 676 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample() 677 inputIndex++; in resample() 680 if (inputIndex >= mBuffer.frameCount) { in resample() [all …]
|
D | AudioResamplerSinc.cpp | 302 size_t inputIndex = mInputIndex; in resample() local 320 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 323 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 324 inputIndex++; in resample() 325 if (inputIndex >= mBuffer.frameCount) { in resample() 326 inputIndex -= mBuffer.frameCount; in resample() 329 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample() 339 head[i] = in[inputIndex*CHANNELS + i]; in resample() 350 inputIndex++; in resample() 351 if (inputIndex >= frameCount) { in resample() [all …]
|
D | AudioResamplerDyn.h | 131 const TI* const in, const size_t inputIndex); 135 const TI* const in, const size_t inputIndex);
|
D | AudioResamplerSinc.h | 65 const int16_t* in, size_t inputIndex);
|
/frameworks/ml/nn/common/operations/ |
D | Gather.cpp | 52 const auto inputIndex = static_cast<uint32_t>(indicesData[outputIndex]); in eval() local 53 NN_RET_CHECK_LE(0u, inputIndex); in eval() 54 NN_RET_CHECK_LT(inputIndex, axisSize); in eval() 56 inputData + (outer * axisSize + inputIndex) * innerSize, in eval()
|
D | GroupedConv2D.cpp | 81 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvFloat32() local 83 sum += filterBase[filterIndex] * inputBase[inputIndex]; in groupedConvFloat32() 153 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8() local 157 (static_cast<int32_t>(inputBase[inputIndex]) + in groupedConvQuant8() 257 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8PerChannel() local 260 (static_cast<int32_t>(inputBase[inputIndex]) + in groupedConvQuant8PerChannel()
|
D | Slice.cpp | 60 std::vector<uint32_t> inputIndex(getNumberOfDimensions(inputShape)); in evalGeneric() local 71 addVectors(outputIndex, beginIndex, &inputIndex); in evalGeneric() 74 NN_RET_CHECK(indexedInput.indexToFlatIndex(inputIndex, &inputOffset)); in evalGeneric()
|
D | UnidirectionalSequenceRNN.cpp | 57 const uint32_t inputIndex = f * secondDimSize * inputSize + s * inputSize + i; in transposeFirstTwoDims() local 59 output[outputIndex] = input[inputIndex]; in transposeFirstTwoDims()
|
D | BidirectionalSequenceRNN.cpp | 74 const uint32_t inputIndex = f * secondDimSize * inputSize + s * inputSize + i; in transposeFirstTwoDims() local 76 output[outputIndex] = input[inputIndex]; in transposeFirstTwoDims()
|
D | DepthwiseConv2D.cpp | 344 uint32_t inputIndex = hInput * inputWidth * inputDepth + in depthwiseConvQuant8PerChannelNhwc() local 347 (static_cast<int32_t>(inputBase[inputIndex]) + in depthwiseConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 418 uint32_t inputIndex = hInput * inputWidth * inputDepth + in convQuant8PerChannelNhwc() local 421 (static_cast<int32_t>(inputBase[inputIndex]) + in convQuant8PerChannelNhwc()
|
/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/ |
D | ExecutionBuilder.h | 257 int setInputFromMemory(uint32_t inputIndex, const Memory* memory, uint32_t offset) { in setInputFromMemory() argument 258 return setInputOrOutputFromMemory(mModel->getInputOperand(inputIndex), memory, offset, in setInputFromMemory() 259 &mInputs.at(inputIndex)); in setInputFromMemory()
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioningRandom.cpp | 382 unsigned inputIndex) { in makeEluSpecialInput() argument 383 if (inputIndex != 1) { in makeEluSpecialInput() 395 int makeRnnSpecialInput(unsigned problemSize, TestModel* model, unsigned inputIndex) { in makeRnnSpecialInput() argument 396 if (inputIndex != 3) { in makeRnnSpecialInput() 413 unsigned inputIndex) { in makeTransposeSpecialInput() argument 414 if (inputIndex != 1) { in makeTransposeSpecialInput() 1306 uint32_t inputIndex = 0, outputIndex = 0; in TEST_P() local 1310 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() 1314 e->setInput(inputIndex++, desc.mVector.data(), in TEST_P() 1329 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 365 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process() local 488 inputIndex, work, in process() 514 inputIndex, work, in process()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 394 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process() local 593 inputIndex, in process()
|