Searched refs:weighted_average (Results 1 – 3 of 3) sorted by relevance
140 int weighted_average = 0; in AssignSegments() local187 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()
104 int32_t weighted_average = 0; in WeightedAverage() local108 weighted_average += data[k * kNumChannels] * weights[k * kNumChannels]; in WeightedAverage()110 return weighted_average; in WeightedAverage()
758 def weighted_average(self): member in AbstractStats1496 wavg = stat_obj.weighted_average()2079 if stat.weighted_average():2090 wavg = stat.weighted_average()