Searched refs:outputMag (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalVolumeTargetTest.cpp | 155 std::vector<int> calculatePercentageDiff(const std::vector<float>& outputMag) { in calculatePercentageDiff() argument 159 float diff = mInputMag[i] - outputMag[i]; in calculatePercentageDiff() 196 std::vector<float> outputMag(mTestFrequencies.size()); in TEST_P() local 207 outputMag = calculateMagnitude(output, mBinOffsets, kNPointFFT); in TEST_P() 208 diffs = calculatePercentageDiff(outputMag); in TEST_P() 220 outputMag = calculateMagnitude(subOutputMute, mBinOffsets, kNPointFFT); in TEST_P() 221 diffs = calculatePercentageDiff(outputMag); in TEST_P() 228 outputMag = calculateMagnitude(output, mBinOffsets, kNPointFFT); in TEST_P() 229 diffs = calculatePercentageDiff(outputMag); in TEST_P() 242 outputMag = calculateMagnitude(subOutputUnmute, mBinOffsets, kNPointFFT); in TEST_P() [all …]
|
D | VtsHalBassBoostTargetTest.cpp | 224 const std::vector<float>& outputMag) { in calculateGainDiff() argument 228 gains[i] = 20 * log10(outputMag[i] / inputMag[i]); in calculateGainDiff() 281 std::vector<float> outputMag(testFrequencies.size()); in TEST_P() local 286 outputMag = calculateMagnitude(output, binOffsets); in TEST_P() 287 float diff = calculateGainDiff(inputMag, outputMag); in TEST_P()
|