Searched refs:binOffsets (Results 1 – 2 of 2) sorted by relevance
184 std::vector<int>& binOffsets) { in roundToFreqCenteredToFftBin() argument186 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() argument212 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() local253 roundToFreqCenteredToFftBin(testFrequencies, binOffsets); in TEST_P()257 inputMag = calculateMagnitude(input, binOffsets); in TEST_P()[all …]
367 std::vector<int>& binOffsets, const float kBinWidth) { in roundToFreqCenteredToFftBin() argument369 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() argument396 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()