Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/enc/
Danalysis.c149 int weighted_average = 0; in AssignSegments() local
192 weighted_average = 0; in AssignSegments()
199 weighted_average += new_center * accum[n]; in AssignSegments()
203 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
220 SetSegmentAlphas(enc, centers, weighted_average); // pick some alphas. in AssignSegments()
/external/webp/src/enc/
Danalysis.c150 int weighted_average = 0; in AssignSegments() local
197 weighted_average = 0; in AssignSegments()
204 weighted_average += new_center * accum[n]; in AssignSegments()
208 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
225 SetSegmentAlphas(enc, centers, weighted_average); // pick some alphas. in AssignSegments()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_log.py722 weighted_average = {}
728 weighted_average[fw] = np.average(scores, weights=weights)
729 return weighted_average
Dfirmware_summary.py350 weighted_average = self.slog.get_final_weighted_average()
352 print '%s: %4.3f' % (fw, weighted_average[fw])
/external/webrtc/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/
Dpower_status.py602 def weighted_average(self): member in AbstractStats
1151 wavg = stat_obj.weighted_average()