Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dhash.c93 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK; in ZopfliUpdateHash()
109 if (h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] > 1) { in ZopfliUpdateHash()
110 amount = h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] - 1; in ZopfliUpdateHash()
Dutil.h46 #define ZOPFLI_WINDOW_MASK (ZOPFLI_WINDOW_SIZE - 1) macro
Dlz77.c233 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK, p, pp; in ZopfliFindLongestMatch()
304 unsigned short same0 = h->same[pos & ZOPFLI_WINDOW_MASK]; in ZopfliFindLongestMatch()
306 unsigned short same1 = h->same[(pos - dist) & ZOPFLI_WINDOW_MASK]; in ZopfliFindLongestMatch()
Dsqueeze.c249 if (h->same[i & ZOPFLI_WINDOW_MASK] > ZOPFLI_MAX_MATCH * 2 in GetBestLengths()
252 && h->same[(i - ZOPFLI_MAX_MATCH) & ZOPFLI_WINDOW_MASK] in GetBestLengths()