Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dvideocommon.cc87 int best_distance = INT_MAX; in FindLowerScale() local
93 if (diff >= 0 && diff < best_distance) { in FindLowerScale()
94 best_distance = diff; in FindLowerScale()
96 if (best_distance == 0) { // Found exact match. in FindLowerScale()
Dvideoadapter.cc96 float best_distance = static_cast<float>(INT_MAX); in FindScale() local
114 if (diff < best_distance) { in FindScale()
115 best_distance = diff; in FindScale()
117 if (best_distance == 0) { // Found exact match. in FindScale()
Dvideocapturer.cc272 int64_t best_distance = kMaxDistance; in GetBestCaptureFormat() local
280 if (distance < best_distance) { in GetBestCaptureFormat()
281 best_distance = distance; in GetBestCaptureFormat()
296 << best_format->interval << " distance " << best_distance; in GetBestCaptureFormat()
/external/webp/src/enc/
Dbackward_references_enc.c311 uint32_t best_distance = 0; in VP8LHashChainFill() local
327 best_distance = xsize; in VP8LHashChainFill()
336 best_distance = 1; in VP8LHashChainFill()
353 best_distance = base_position - pos; in VP8LHashChainFill()
364 assert(best_distance <= WINDOW_SIZE); in VP8LHashChainFill()
366 (best_distance << MAX_LENGTH_BITS) | (uint32_t)best_length; in VP8LHashChainFill()
369 if (best_distance == 0 || base_position == 0) break; in VP8LHashChainFill()
371 if (base_position < best_distance || in VP8LHashChainFill()
372 argb[base_position - best_distance] != argb[base_position]) { in VP8LHashChainFill()
379 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill()