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.java135 int energy = computeEnergy(data, true); in test2_0PollingCapture() local
137 0, energy); in test2_0PollingCapture()
139 energy = computeEnergy(data, false); in test2_0PollingCapture()
141 0, energy); in test2_0PollingCapture()
179 int energy = computeEnergy(mWaveform, true); in test2_1ListenerCapture() local
181 0, energy); in test2_1ListenerCapture()
195 energy = computeEnergy(mFft, false); in test2_1ListenerCapture()
197 0, energy); in test2_1ListenerCapture()
214 int energy = 0; in computeEnergy() local
219 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()