Searched refs:fftInput (Results 1 – 2 of 2) sorted by relevance
207 std::vector<float> fftInput(kNPointFFT); in calculateMagnitude() local209 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()
391 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()