Searched refs:ZOPFLI_MAX_MATCH (Results 1 – 3 of 3) sorted by relevance
/external/zopfli/src/zopfli/ |
D | squeeze.c | 249 if (h->same[i & ZOPFLI_WINDOW_MASK] > ZOPFLI_MAX_MATCH * 2 in GetBestLengths() 250 && i > instart + ZOPFLI_MAX_MATCH + 1 in GetBestLengths() 251 && i + ZOPFLI_MAX_MATCH * 2 + 1 < inend in GetBestLengths() 252 && h->same[(i - ZOPFLI_MAX_MATCH) & ZOPFLI_WINDOW_MASK] in GetBestLengths() 253 > ZOPFLI_MAX_MATCH) { in GetBestLengths() 254 double symbolcost = costmodel(ZOPFLI_MAX_MATCH, 1, costcontext); in GetBestLengths() 258 for (k = 0; k < ZOPFLI_MAX_MATCH; k++) { in GetBestLengths() 259 costs[j + ZOPFLI_MAX_MATCH] = costs[j] + symbolcost; in GetBestLengths() 260 length_array[j + ZOPFLI_MAX_MATCH] = ZOPFLI_MAX_MATCH; in GetBestLengths() 268 ZopfliFindLongestMatch(s, h, in, i, inend, ZOPFLI_MAX_MATCH, sublen, in GetBestLengths() [all …]
|
D | lz77.c | 174 (*limit == ZOPFLI_MAX_MATCH || s->lmc->length[lmcpos] <= *limit || in TryGetFromLongestMatchCache() 186 if (*limit == ZOPFLI_MAX_MATCH && *length >= ZOPFLI_MIN_MATCH) { in TryGetFromLongestMatchCache() 219 if (s->lmc && limit == ZOPFLI_MAX_MATCH && sublen && !cache_available) { in StoreInLongestMatchCache() 258 assert(limit <= ZOPFLI_MAX_MATCH); in ZopfliFindLongestMatch() 399 ZopfliFindLongestMatch(s, h, in, i, inend, ZOPFLI_MAX_MATCH, dummysublen, in ZopfliLZ77Greedy() 410 if (lengthscore >= ZOPFLI_MIN_MATCH && leng < ZOPFLI_MAX_MATCH) { in ZopfliLZ77Greedy() 432 else if (lengthscore >= ZOPFLI_MIN_MATCH && leng < ZOPFLI_MAX_MATCH) { in ZopfliLZ77Greedy()
|
D | util.h | 32 #define ZOPFLI_MAX_MATCH 258 macro
|