Searched refs:outputIndex (Results 1 – 7 of 7) sorted by relevance
/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, 346 size_t outputIndex = 0; in resampleStereo16() local 353 while (outputIndex < outputSampleCount) { in resampleStereo16() 378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16() 379 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); in resampleStereo16() 381 if (outputIndex == outputSampleCount) { in resampleStereo16() 396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16() 401 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16() 402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16() [all …]
|
D | AudioResamplerCubic.cpp | 62 size_t outputIndex = 0; in resampleStereo16() local 77 while (outputIndex < outputSampleCount) { in resampleStereo16() 82 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16() 83 out[outputIndex++] += vr * interp(&right, x); in resampleStereo16() 117 return outputIndex / 2 /* channels for stereo */; in resampleStereo16() 129 size_t outputIndex = 0; in resampleMono16() local 144 while (outputIndex < outputSampleCount) { in resampleMono16() 151 out[outputIndex++] += vl * sample; in resampleMono16() 152 out[outputIndex++] += vr * sample; in resampleMono16() 184 return outputIndex; in resampleMono16()
|
D | AudioResamplerDyn.cpp | 645 size_t outputIndex = 0; in resample() local 664 while (outputIndex < outputSampleCount) { in resample() 711 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 723 &out[outputIndex], in resample() 728 outputIndex += OUTPUT_CHANNELS; in resample() 761 return outputIndex / OUTPUT_CHANNELS; in resample()
|
D | AudioResamplerSinc.cpp | 304 size_t outputIndex = 0; in resample() local 308 while (outputIndex < outputSampleCount) { in resample() 342 while (CC_LIKELY(outputIndex < outputSampleCount)) { in resample() 343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample() 344 outputIndex += 2; in resample() 368 return outputIndex / CHANNELS; in resample()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | FrameReassembler_test.cpp | 69 size_t inputIndex = 0, outputIndex = 0; in testPushSameSize() local 95 outputIndex * 1000000 / sampleRate / channelCount / BytesPerSample(encoding); in testPushSameSize() 101 << " output index: " << outputIndex; in testPushSameSize() 111 for (size_t j = 0; j < view.capacity(); ++j, ++outputIndex) { in testPushSameSize() 112 ASSERT_TRUE(outputIndex < inputIndex in testPushSameSize() 114 << "inputIndex = " << inputIndex << " outputIndex = " << outputIndex; in testPushSameSize() 115 uint8_t expected = outputIndex < inputIndex ? (outputIndex & 0xFF) : 0; in testPushSameSize() 118 EXPECT_EQ(expected, view.data()[j]) << "output index = " << outputIndex; in testPushSameSize() 127 ASSERT_EQ(0, outputIndex % encoderFrameSizeInBytes) in testPushSameSize() 128 << "output size must be multiple of frame size: output size = " << outputIndex in testPushSameSize() [all …]
|
/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 …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDirectMidiDevice.java | 369 int outputIndex = 0; in openLocked() local 381 mMidiInputPortReceivers[outputIndex].setReceiver(scheduler.getReceiver()); in openLocked() 382 outputIndex++; in openLocked()
|