Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DVtsHalBassBoostTargetTest.cpp207 std::vector<float> fftInput(kNPointFFT); in calculateMagnitude() local
209 pffft_transform_ordered(inputHandle, buffer.data(), fftInput.data(), nullptr, in calculateMagnitude()
215 bufferMag[i] = sqrt((fftInput[k * 2] * fftInput[k * 2]) + in calculateMagnitude()
216 (fftInput[k * 2 + 1] * fftInput[k * 2 + 1])); in calculateMagnitude()
DEffectHelper.h391 std::vector<float> fftInput(nPointFFT); in calculateMagnitude()
393 pffft_transform_ordered(inputHandle, buffer.data(), fftInput.data(), nullptr, in calculateMagnitude()
399 bufferMag[i] = sqrt((fftInput[k * 2] * fftInput[k * 2]) + in calculateMagnitude()
400 (fftInput[k * 2 + 1] * fftInput[k * 2 + 1])); in calculateMagnitude()