Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Dlz77.c167 size_t lmcpos = pos - s->blockstart; in TryGetFromLongestMatchCache() local
171 unsigned char cache_available = s->lmc && (s->lmc->length[lmcpos] == 0 || in TryGetFromLongestMatchCache()
172 s->lmc->dist[lmcpos] != 0); in TryGetFromLongestMatchCache()
174 (*limit == ZOPFLI_MAX_MATCH || s->lmc->length[lmcpos] <= *limit || in TryGetFromLongestMatchCache()
176 lmcpos, s->lmc->length[lmcpos]) >= *limit)); in TryGetFromLongestMatchCache()
179 if (!sublen || s->lmc->length[lmcpos] in TryGetFromLongestMatchCache()
180 <= ZopfliMaxCachedSublen(s->lmc, lmcpos, s->lmc->length[lmcpos])) { in TryGetFromLongestMatchCache()
181 *length = s->lmc->length[lmcpos]; in TryGetFromLongestMatchCache()
184 ZopfliCacheToSublen(s->lmc, lmcpos, *length, sublen); in TryGetFromLongestMatchCache()
187 assert(sublen[*length] == s->lmc->dist[lmcpos]); in TryGetFromLongestMatchCache()
[all …]