Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dcolor_cache.h25 int hash_shift_; // Hash shift: 32 - hash_bits. member
32 assert(key <= (~0U >> cc->hash_shift_)); in VP8LColorCacheLookup()
38 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert()
44 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex()
49 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains()
Dcolor_cache.c31 cc->hash_shift_ = 32 - hash_bits; in VP8LColorCacheInit()