Home
last modified time | relevance | path

Searched refs:rms (Results 1 – 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/ecs1030/
Decs1030.cxx58 float rms = 0; in getCurrency_A() local
64 rms = rms + volt; in getCurrency_A()
68 rms = rms / (float)NUMBER_OF_SAMPLES; in getCurrency_A()
69 rms = sqrt(rms); in getCurrency_A()
70 return rms / R_LOAD; in getCurrency_A()
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c900 float rms = nb_valid_meas == 0 ? 0.0f : sqrtf(sum_rms_squared / nb_valid_meas); in visualizer_command() local
903 if (rms < 0.000016f) { in visualizer_command()
906 p_int_reply_data[MEASUREMENT_IDX_RMS] = (int32_t) (2000 * log10(rms / 32767.0f)); in visualizer_command()
915 rms, p_int_reply_data[MEASUREMENT_IDX_RMS]); in visualizer_command()
/hardware/qcom/audio/msm8909/visualizer/
Doffload_visualizer.c879 float rms = nb_valid_meas == 0 ? 0.0f : sqrtf(sum_rms_squared / nb_valid_meas); in visualizer_command() local
882 if (rms < 0.000016f) { in visualizer_command()
885 p_int_reply_data[MEASUREMENT_IDX_RMS] = (int32_t) (2000 * log10(rms / 32767.0f)); in visualizer_command()
894 rms, p_int_reply_data[MEASUREMENT_IDX_RMS]); in visualizer_command()