Searched refs:best_distance (Results 1 - 7 of 7) sorted by relevance

/external/webrtc/talk/media/base/
H A Dvideocommon.cc87 int best_distance = INT_MAX; local
93 if (diff >= 0 && diff < best_distance) {
94 best_distance = diff;
96 if (best_distance == 0) { // Found exact match.
H A Dvideoadapter.cc96 float best_distance = static_cast<float>(INT_MAX); local
114 if (diff < best_distance) {
115 best_distance = diff;
117 if (best_distance == 0) { // Found exact match.
H A Dvideocapturer.cc272 int64_t best_distance = kMaxDistance; local
280 if (distance < best_distance) {
281 best_distance = distance;
296 << best_format->interval << " distance " << best_distance;
/external/webp/src/enc/
H A Dbackward_references_enc.c311 uint32_t best_distance = 0; local
327 best_distance = xsize;
336 best_distance = 1;
353 best_distance = base_position - pos;
364 assert(best_distance <= WINDOW_SIZE);
366 (best_distance << MAX_LENGTH_BITS) | (uint32_t)best_length;
369 if (best_distance == 0 || base_position == 0) break;
371 if (base_position < best_distance ||
372 argb[base_position - best_distance] != argb[base_position]) {
377 // matching interval is as close as possible (best_distance
[all...]
H A Ddelta_palettization_enc.c355 uint32_t best_distance = CalcDist(predicted_value, src, palette[0]); local
358 if (distance < best_distance) {
359 best_distance = distance;
/external/fio/
H A Dinit.c2247 int best_option, best_distance; local
2254 best_distance = INT_MAX;
2258 if (distance < best_distance) {
2259 best_distance = distance;
2265 if (best_option != -1 && string_distance_ok(name, best_distance))
H A Doptions.c4705 int best_option, best_distance; local
4719 best_distance = INT_MAX;
4723 if (distance < best_distance) {
4724 best_distance = distance;
4730 if (best_option != -1 && string_distance_ok(name, best_distance) &&

Completed in 259 milliseconds