Home
last modified time | relevance | path

Searched refs:sumSquares (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dstats_scorer.cpp30 float sumSquares = 0.0; in Java_androidx_media_filterpacks_numeric_StatsFilter_score() local
35 sumSquares += val * val; in Java_androidx_media_filterpacks_numeric_StatsFilter_score()
39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_score()
54 float sumSquares = 0.0; in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore() local
61 sumSquares += val * val; in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
67 0 : sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DKalmanFilterTest.java114 double sumSquares = 0.0; in testPhaseLockedLoop() local
119 sumSquares += residual[i] * residual[i]; in testPhaseLockedLoop()
123 double variance = (sumSquares - sum * sum) / (n * n); in testPhaseLockedLoop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DAnglesClassifier.java175 public float getAnglesVariance(float sumSquares, float sum, float count) { in getAnglesVariance() argument
176 return sumSquares / count - (sum / count) * (sum / count); in getAnglesVariance()
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h87 double sumSquares = 0.0; in calculateCorrelation() local
95 sumSquares += ((s1 * s1) + (s2 * s2)); in calculateCorrelation()
98 if (sumSquares >= 0.00000001) { in calculateCorrelation()
99 correlation = (float) (2.0 * sumProducts / sumSquares); in calculateCorrelation()