Searched refs:base_position (Results 1 – 3 of 3) sorted by relevance
144 const int base_position) { in VP8LHashChainFindOffset() argument145 return p->offset_length_[base_position] >> MAX_LENGTH_BITS; in VP8LHashChainFindOffset()149 const int base_position) { in VP8LHashChainFindLength() argument150 return p->offset_length_[base_position] & ((1U << MAX_LENGTH_BITS) - 1); in VP8LHashChainFindLength()154 int base_position, in VP8LHashChainFindCopy() argument157 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()158 *length_ptr = VP8LHashChainFindLength(p, base_position); in VP8LHashChainFindCopy()
264 uint32_t base_position; in VP8LHashChainFill() local338 for (base_position = size - 2; base_position > 0;) { in VP8LHashChainFill()339 const int max_len = MaxFindCopyLength(size - 1 - base_position); in VP8LHashChainFill()340 const uint32_t* const argb_start = argb + base_position; in VP8LHashChainFill()346 (base_position > window_size) ? base_position - window_size : 0; in VP8LHashChainFill()350 pos = chain[base_position]; in VP8LHashChainFill()354 if (base_position >= (uint32_t)xsize) { in VP8LHashChainFill()378 assert(base_position > (uint32_t)pos); in VP8LHashChainFill()385 best_distance = base_position - pos; in VP8LHashChainFill()393 max_base_position = base_position; in VP8LHashChainFill()[all …]
212 def _FindClosestChromiumSnapshot(base_position, build_dir): argument221 min_position = base_position - _CHROMIUM_SNAPSHOT_SEARCH_WINDOW222 max_position = base_position + _CHROMIUM_SNAPSHOT_SEARCH_WINDOW250 (_CHROMIUM_SNAPSHOT_SEARCH_WINDOW, base_position))252 distance_function = lambda position: abs(position - base_position)