Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/utils/
Dcolor_cache.h27 int hash_shift_; // Hash shift: 32 - hash_bits. member
34 assert(key <= (~0U >> cc->hash_shift_)); in VP8LColorCacheLookup()
40 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert()
46 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex()
51 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains()
Dcolor_cache.c33 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit()
/external/webp/src/utils/
Dcolor_cache.h27 int hash_shift_; // Hash shift: 32 - hash_bits_. member
47 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert()
53 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex()
58 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains()
Dcolor_cache.c30 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit()