Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DVisualizerTest.java143 int energy = computeEnergy(data, true); in test2_0PollingCapture() local
145 0, energy); in test2_0PollingCapture()
147 energy = computeEnergy(data, false); in test2_0PollingCapture()
149 0, energy); in test2_0PollingCapture()
192 int energy = computeEnergy(mWaveform, true); in test2_1ListenerCapture() local
194 0, energy); in test2_1ListenerCapture()
208 energy = computeEnergy(mFft, false); in test2_1ListenerCapture()
210 0, energy); in test2_1ListenerCapture()
436 int energy = 0; in computeEnergy() local
441 energy += tmp*tmp; in computeEnergy()
[all …]
/cts/suite/audio_quality/lib/src/
DBuiltinProcessing.cpp58 double energy = 0.0f; in rms_mva() local
60 energy += (rawData[i] * rawData[i]); in rms_mva()
62 rms = (int64_t)sqrt(energy/samples); in rms_mva()