Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DVtsHalBassBoostTargetTest.cpp184 std::vector<int>& binOffsets) { in roundToFreqCenteredToFftBin() argument
186 binOffsets[i] = std::round(testFrequencies[i] / kBinWidth); in roundToFreqCenteredToFftBin()
187 testFrequencies[i] = std::round(binOffsets[i] * kBinWidth); in roundToFreqCenteredToFftBin()
206 const std::vector<int>& binOffsets) { in calculateMagnitude() argument
212 std::vector<float> bufferMag(binOffsets.size()); in calculateMagnitude()
213 for (size_t i = 0; i < binOffsets.size(); i++) { in calculateMagnitude()
214 size_t k = binOffsets[i]; in calculateMagnitude()
245 std::vector<int> binOffsets(testFrequencies.size()); in TEST_P() local
253 roundToFreqCenteredToFftBin(testFrequencies, binOffsets); in TEST_P()
257 inputMag = calculateMagnitude(input, binOffsets); in TEST_P()
[all …]
DEffectHelper.h367 std::vector<int>& binOffsets, const float kBinWidth) { in roundToFreqCenteredToFftBin() argument
369 binOffsets[i] = std::round(testFrequencies[i] / kBinWidth); in roundToFreqCenteredToFftBin()
370 testFrequencies[i] = std::round(binOffsets[i] * kBinWidth); in roundToFreqCenteredToFftBin()
390 const std::vector<int>& binOffsets, const int nPointFFT) { in calculateMagnitude() argument
396 std::vector<float> bufferMag(binOffsets.size()); in calculateMagnitude()
397 for (size_t i = 0; i < binOffsets.size(); i++) { in calculateMagnitude()
398 size_t k = binOffsets[i]; in calculateMagnitude()