Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dlz77.c240 #if ZOPFLI_MAX_CHAIN_HITS < ZOPFLI_WINDOW_SIZE in ZopfliFindLongestMatch()
283 dist = p < pp ? pp - p : ((ZOPFLI_WINDOW_SIZE - p) + pp); in ZopfliFindLongestMatch()
286 while (dist < ZOPFLI_WINDOW_SIZE) { in ZopfliFindLongestMatch()
289 assert(p < ZOPFLI_WINDOW_SIZE); in ZopfliFindLongestMatch()
347 dist += p < pp ? pp - p : ((ZOPFLI_WINDOW_SIZE - p) + pp); in ZopfliFindLongestMatch()
349 #if ZOPFLI_MAX_CHAIN_HITS < ZOPFLI_WINDOW_SIZE in ZopfliFindLongestMatch()
373 size_t windowstart = instart > ZOPFLI_WINDOW_SIZE in ZopfliLZ77Greedy()
374 ? instart - ZOPFLI_WINDOW_SIZE : 0; in ZopfliLZ77Greedy()
390 ZopfliInitHash(ZOPFLI_WINDOW_SIZE, h); in ZopfliLZ77Greedy()
Dutil.h40 #define ZOPFLI_WINDOW_SIZE 32768 macro
46 #define ZOPFLI_WINDOW_MASK (ZOPFLI_WINDOW_SIZE - 1)
Dsqueeze.c220 size_t windowstart = instart > ZOPFLI_WINDOW_SIZE in GetBestLengths()
221 ? instart - ZOPFLI_WINDOW_SIZE : 0; in GetBestLengths()
232 ZopfliInitHash(ZOPFLI_WINDOW_SIZE, h); in GetBestLengths()
339 size_t windowstart = instart > ZOPFLI_WINDOW_SIZE in FollowPath()
340 ? instart - ZOPFLI_WINDOW_SIZE : 0; in FollowPath()
349 ZopfliInitHash(ZOPFLI_WINDOW_SIZE, h); in FollowPath()