Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dhash.c26 #define HASH_SHIFT 5 macro
88 h->val = (((h->val) << HASH_SHIFT) ^ (c)) & HASH_MASK; in UpdateHashValue()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp1336 static const unsigned HASH_SHIFT = 2; variable
1390 result ^= (data[pos + 0] << (0 * HASH_SHIFT)); in getHash()
1391 result ^= (data[pos + 1] << (1 * HASH_SHIFT)); in getHash()
1392 result ^= (data[pos + 2] << (2 * HASH_SHIFT)); in getHash()
1398 for(i = 0; i < amount; i++) result ^= (data[pos + i] << (i * HASH_SHIFT)); in getHash()