Home
last modified time | relevance | path

Searched refs:weighted_average (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/enc/
Danalysis_enc.c140 int weighted_average = 0; in AssignSegments() local
187 weighted_average = 0; in AssignSegments()
194 weighted_average += new_center * accum[n]; in AssignSegments()
198 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
215 SetSegmentAlphas(enc, centers, weighted_average); // pick some alphas. in AssignSegments()
/external/webrtc/common_audio/vad/
Dvad_core.c104 int32_t weighted_average = 0; in WeightedAverage() local
108 weighted_average += data[k * kNumChannels] * weights[k * kNumChannels]; in WeightedAverage()
110 return weighted_average; in WeightedAverage()
/external/autotest/client/cros/power/
Dpower_status.py758 def weighted_average(self): member in AbstractStats
1496 wavg = stat_obj.weighted_average()
2079 if stat.weighted_average():
2090 wavg = stat.weighted_average()