Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/
DBaseSineAnalyzer.java201 double cosMean = mCosAccumulator / mFramesAccumulated; in calculateMagnitudePhase() local
203 double magnitude = 2.0 * Math.sqrt((sinMean * sinMean) + (cosMean * cosMean)); in calculateMagnitudePhase()
204 magphase.mPhase = Math.atan2(cosMean, sinMean); in calculateMagnitudePhase()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h136 double cosMean = mCosAccumulator / mFramesAccumulated; variable
137 double magnitude = 2.0 * sqrt((sinMean * sinMean) + (cosMean * cosMean));
139 double phase = M_PI_2 - atan2(sinMean, cosMean);