Searched refs:energy (Results 1 – 2 of 2) sorted by relevance
135 int energy = computeEnergy(data, true); in test2_0PollingCapture() local137 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() local181 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() local219 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()