Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
DBuiltinProcessing.cpp55 int64_t rms = 0; in rms_mva() local
62 rms = (int64_t)sqrt(energy/samples); in rms_mva()
65 if (rms < passMin) { in rms_mva()
66 MSG("Volume %lld low compared to min %lld max %lld", rms, passMin, passMax); in rms_mva()
68 } else if (rms <= passMax) { in rms_mva()
69 MSG("Volume %lld OK compared to min %lld max %lld", rms, passMin, passMax); in rms_mva()
76 LOGW("Volume %lld high compared to min %lld max %lld", rms, passMin, passMax); in rms_mva()
80 rmsVal->setInt64(rms); in rms_mva()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java137 float rms = count > 0 ? (float)Math.sqrt(rmsTempSum / count) : 0f; in updateRms() local
138 if (rms < MIN_RMS_VAL) { in updateRms()
139 rms = MIN_RMS_VAL; in updateRms()
143 double total_rms = rms * alpha + mRmsCurrent * (1.0f - alpha); in updateRms()
DAudioFrequencyVoiceRecognitionActivity.java167 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onCreate()
169 double total_rms = rms * RMS_SMOOTHING_PARAM + mRMS * (1 - RMS_SMOOTHING_PARAM); in onCreate()
DAudioFrequencyUnprocessedActivity.java1096 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onPeriodicNotification() local
1099 double total_rms = rms * alpha + mRMS *(1-alpha); in onPeriodicNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java242 double rms; in processDataSet() local
244 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet()
245 if (rms < min_rms) { in processDataSet()
246 min_rms = rms; in processDataSet()