Home
last modified time | relevance | path

Searched refs:mInputBuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/audio/aidl/vts/
DVtsHalDownmixTargetTest.cpp142 mInputBuffer.resize(kBufferSize); in setDataTestParams()
149 mOutputBufferSize = (mInputBuffer.size() / mInputChannelCount) * kOutputChannelCount; in setDataTestParams()
163 for (size_t i = position; i < mInputBuffer.size(); i += increment) { in generateInputBuffer()
164 mInputBuffer[i] = in generateInputBuffer()
182 std::vector<float> mInputBuffer; member in DownmixEffectHelper
256 if (mInputBuffer[j] != 0) { in checkAtLeft()
260 ASSERT_EQ(mOutputBuffer[i], mInputBuffer[j]); in checkAtLeft()
273 if (mInputBuffer[j] != 0) { in checkAtRight()
277 ASSERT_EQ(mOutputBuffer[i + 1], mInputBuffer[j]) << " at " << i; in checkAtRight()
286 if (mInputBuffer[j] != 0) { in checkAtCenter()
[all …]
DVtsHalLoudnessEnhancerTargetTest.cpp178 mInputBuffer.push_back(((static_cast<float>(std::rand()) / RAND_MAX) * 2 - 1) * in generateInputBuffer()
196 EffectHelper::writeToFmq(mStatusMQ, mInputMQ, mInputBuffer, mVersion)); in processAndWriteToOutput()
253 std::vector<float> mInputBuffer; member in LoudnessEnhancerDataTest
296 if (mInputBuffer[i] != 0) { in TEST_P()
299 ASSERT_EQ(mOutputBuffer[i], mInputBuffer[i]); in TEST_P()