Home
last modified time | relevance | path

Searched refs:sumSquares (Results 1 – 2 of 2) 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/base/packages/SystemUI/src/com/android/systemui/classifier/
DAnglesClassifier.java167 public float getAnglesVariance(float sumSquares, float sum, float count) { in getAnglesVariance() argument
168 return sumSquares / count - (sum / count) * (sum / count); in getAnglesVariance()