Searched refs:energy (Results 1 – 2 of 2) sorted by relevance
143 int energy = computeEnergy(data, true); in test2_0PollingCapture() local145 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() local194 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() local441 energy += tmp*tmp; in computeEnergy()[all …]
58 double energy = 0.0f; in rms_mva() local60 energy += (rawData[i] * rawData[i]); in rms_mva()62 rms = (int64_t)sqrt(energy/samples); in rms_mva()