Home
last modified time | relevance | path

Searched refs:rms (Results 1 – 7 of 7) 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/
DCorrelation.java60 double rms = 0; in computeCorrelation() local
64 rms += mDataAutocorrelated[i]*mDataAutocorrelated[i]; in computeCorrelation()
71 rms = Math.sqrt(rms/mDataAutocorrelated.length); in computeCorrelation()
76 log(String.format(" average : %.3f rms: %.3f", average, rms)); in computeCorrelation()
82 double raw = (rms-average) /(factor*average); in computeCorrelation()
DAudioAEC.java136 float rms = count > 0 ? (float)Math.sqrt(rmsTempSum / count) : 0f; in updateRms() local
137 if (rms < MIN_RMS_VAL) { in updateRms()
138 rms = MIN_RMS_VAL; in updateRms()
142 double total_rms = rms * alpha + mRmsCurrent * (1.0f - alpha); in updateRms()
DAudioFrequencyVoiceRecognitionActivity.java175 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onCreate()
177 double total_rms = rms * RMS_SMOOTHING_PARAM + mRMS * (1 - RMS_SMOOTHING_PARAM); in onCreate()
DAudioFrequencyUnprocessedActivity.java1103 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onPeriodicNotification() local
1106 double total_rms = rms * alpha + mRMS *(1-alpha); in onPeriodicNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java239 double rms; in processDataSet() local
241 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet()
242 if (rms < min_rms) { in processDataSet()
243 min_rms = rms; in processDataSet()
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv288 …fS:-)',F\fjjkjjotvvxz}������|wqnnpqqqrposwz|{yxyyzysi]SWcjq�����Ƶ�����rms{�����������������{u…