Searched refs:sum_squared (Results 1 – 3 of 3) sorted by relevance
23 static int variance(int sum, int sum_squared, int size) { in variance() argument24 return sum_squared / size - (sum / size) * (sum / size); in variance()
63 double sum_squared = 0; in DitherSilence() local65 sum_squared += frame->data_[n] * frame->data_[n]; in DitherSilence()66 if (sum_squared <= sum_squared_silence) { in DitherSilence()
1110 double sum_squared = 0; in CheckBgn() local1112 sum_squared += output[k] * output[k]; in CheckBgn()1113 TestCondition(sum_squared, n > kFadingThreshold); in CheckBgn()