Home
last modified time | relevance | path

Searched refs:total_weight (Results 1 – 8 of 8) sorted by relevance

/external/openfst/src/include/fst/
Dpush.h104 typename Arc::Weight total_weight = Arc::Weight::One();
106 total_weight = internal::ComputeTotalWeight(*fst, distance,
110 internal::RemoveWeight(fst, total_weight, type == REWEIGHT_TO_FINAL);
148 typename GallicArc<Arc, stype>::Weight total_weight =
151 total_weight = internal::ComputeTotalWeight(
153 total_weight = typename GallicArc<Arc, stype>::Weight(
154 ptype & kPushRemoveCommonAffix ? total_weight.Value1()
156 ptype & kPushRemoveTotalWeight ? total_weight.Value2()
161 internal::RemoveWeight(&gfst, total_weight, rtype == REWEIGHT_TO_FINAL);
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner.cc94 int total_weight = 0; in FillPageValues() local
96 total_weight += sources_[i]->GetWeight(); in FillPageValues()
97 DCHECK_GT(total_weight, 0); in FillPageValues()
110 error = numerator % total_weight; in FillPageValues()
111 int item_count = std::min(numerator / total_weight, in FillPageValues()
/external/chromium_org/third_party/libwebp/enc/
Danalysis.c169 int total_weight; in AssignSegments() local
193 total_weight = 0; in AssignSegments()
200 total_weight += accum[n]; in AssignSegments()
203 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
/external/webp/src/enc/
Danalysis.c169 int total_weight; in AssignSegments() local
193 total_weight = 0; in AssignSegments()
200 total_weight += accum[n]; in AssignSegments()
203 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
/external/chromium_org/net/spdy/
Dspdy_priority_forest.h421 uint64 total_weight = 0; in FirstMarkedNode() local
431 total_weight += static_cast<uint64>(root.depends_on.priority); in FirstMarkedNode()
432 roots[total_weight] = root_id; in FirstMarkedNode()
444 if (total_weight == 0) { in FirstMarkedNode()
453 roots.upper_bound(base::RandGenerator(total_weight)); in FirstMarkedNode()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c394 unsigned int total_weight = 0; in estimate_keyframe_frequency() local
410 total_weight += prior_key_frame_weight[i]; in estimate_keyframe_frequency()
413 av_key_frame_frequency /= total_weight; in estimate_keyframe_frequency()
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c1388 unsigned int total_weight = 0; in estimate_keyframe_frequency() local
1405 total_weight += prior_key_frame_weight[i]; in estimate_keyframe_frequency()
1408 av_key_frame_frequency /= total_weight; in estimate_keyframe_frequency()
/external/opencv/ml/src/
Dmltree.cpp2274 double max_val = -1, total_weight = 0; in calc_node_value() local
2321 total_weight += val; in calc_node_value()
2332 node->node_risk = total_weight - max_val; in calc_node_value()