Searched refs:weighted_average (Results 1 – 3 of 3) sorted by relevance
146 int weighted_average = 0; in AssignSegments() local193 weighted_average = 0; in AssignSegments()200 weighted_average += new_center * accum[n]; in AssignSegments()204 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()221 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()