Home
last modified time | relevance | path

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

/external/webp/src/enc/
Danalysis.c146 int weighted_average = 0; in AssignSegments() local
193 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()
/external/chromium_org/third_party/libwebp/enc/
Danalysis.c146 int weighted_average = 0; in AssignSegments() local
193 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()
/external/chromium_org/third_party/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()