Searched refs:best_distance (Results 1 – 4 of 4) sorted by relevance
87 int best_distance = INT_MAX; in FindLowerScale() local93 if (diff >= 0 && diff < best_distance) { in FindLowerScale()94 best_distance = diff; in FindLowerScale()96 if (best_distance == 0) { // Found exact match. in FindLowerScale()
96 float best_distance = static_cast<float>(INT_MAX); in FindScale() local114 if (diff < best_distance) { in FindScale()115 best_distance = diff; in FindScale()117 if (best_distance == 0) { // Found exact match. in FindScale()
272 int64_t best_distance = kMaxDistance; in GetBestCaptureFormat() local280 if (distance < best_distance) { in GetBestCaptureFormat()281 best_distance = distance; in GetBestCaptureFormat()296 << best_format->interval << " distance " << best_distance; in GetBestCaptureFormat()
311 uint32_t best_distance = 0; in VP8LHashChainFill() local327 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()