Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.c343 uint32_t best_distance = 0; in VP8LHashChainFill() local
359 best_distance = xsize; in VP8LHashChainFill()
368 best_distance = 1; in VP8LHashChainFill()
385 best_distance = base_position - pos; in VP8LHashChainFill()
396 assert(best_distance <= WINDOW_SIZE); in VP8LHashChainFill()
398 (best_distance << MAX_LENGTH_BITS) | (uint32_t)best_length; in VP8LHashChainFill()
401 if (best_distance == 0 || base_position == 0) break; in VP8LHashChainFill()
403 if (base_position < best_distance || in VP8LHashChainFill()
404 argb[base_position - best_distance] != argb[base_position]) { in VP8LHashChainFill()
411 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill()