Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dframe_pair.cc203 const WeightedDelta* const weighted_deltas, in GetMedian() argument
212 if (weighted_deltas[i].weight > 0.0f) { in GetMedian()
213 current_weight += weighted_deltas[i].weight; in GetMedian()
215 return weighted_deltas[i].delta; in GetMedian()
228 static WeightedDelta weighted_deltas[kMaxKeypoints]; in GetWeightedMedian() local
236 weighted_deltas[i].delta = deltas[i].x; in GetWeightedMedian()
238 weighted_deltas[i].weight = weight; in GetWeightedMedian()
243 qsort(weighted_deltas, kMaxKeypoints, sizeof(WeightedDelta), in GetWeightedMedian()
245 median_delta.x = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); in GetWeightedMedian()
255 weighted_deltas[i].weight = weight; in GetWeightedMedian()
[all …]