Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dsqueeze.c249 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 …]
Dlz77.c174 (*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()
Dutil.h32 #define ZOPFLI_MAX_MATCH 258 macro