Home
last modified time | relevance | path

Searched refs:sumRmsSquared (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp136 float sumRmsSquared = 0.0f; in getMeasure() local
160 sumRmsSquared += mPastMeasurements[i].mRmsSquared; in getMeasure()
167 float rms = nbValidMeasurements == 0 ? 0.0f : sqrtf(sumRmsSquared / nbValidMeasurements); in getMeasure()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp706 float sumRmsSquared = 0.0f; in Visualizer_command() local
728 sumRmsSquared += pContext->mPastMeasurements[i].mRmsSquared; in Visualizer_command()
733 float rms = nbValidMeasurements == 0 ? 0.0f : sqrtf(sumRmsSquared / nbValidMeasurements); in Visualizer_command()