Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.h144 const int base_position) { in VP8LHashChainFindOffset() argument
145 return p->offset_length_[base_position] >> MAX_LENGTH_BITS; in VP8LHashChainFindOffset()
149 const int base_position) { in VP8LHashChainFindLength() argument
150 return p->offset_length_[base_position] & ((1U << MAX_LENGTH_BITS) - 1); in VP8LHashChainFindLength()
154 int base_position, in VP8LHashChainFindCopy() argument
157 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()
158 *length_ptr = VP8LHashChainFindLength(p, base_position); in VP8LHashChainFindCopy()
Dbackward_references_enc.c264 uint32_t base_position; in VP8LHashChainFill() local
338 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 …]
/external/chromium-trace/catapult/common/bin/
Dupdate_chrome_reference_binaries.py212 def _FindClosestChromiumSnapshot(base_position, build_dir): argument
221 min_position = base_position - _CHROMIUM_SNAPSHOT_SEARCH_WINDOW
222 max_position = base_position + _CHROMIUM_SNAPSHOT_SEARCH_WINDOW
250 (_CHROMIUM_SNAPSHOT_SEARCH_WINDOW, base_position))
252 distance_function = lambda position: abs(position - base_position)