Searched refs:MAX_SUPPORTED_DEFLATE_LENGTH (Results 1 – 1 of 1) sorted by relevance
1447 static const size_t MAX_SUPPORTED_DEFLATE_LENGTH = 258; variable1513 hash->headz = (int*)lodepng_malloc(sizeof(int) * (MAX_SUPPORTED_DEFLATE_LENGTH + 1)); in hash_init()1525 for(i = 0; i <= MAX_SUPPORTED_DEFLATE_LENGTH; ++i) hash->headz[i] = -1; in hash_init()1564 const unsigned char* end = start + MAX_SUPPORTED_DEFLATE_LENGTH; in countZeros()1599 unsigned maxlazymatch = windowsize >= 8192 ? MAX_SUPPORTED_DEFLATE_LENGTH : 64; in encodeLZ77()1617 if(nicematch > MAX_SUPPORTED_DEFLATE_LENGTH) nicematch = MAX_SUPPORTED_DEFLATE_LENGTH; in encodeLZ77()1640 …lastptr = &in[insize < pos + MAX_SUPPORTED_DEFLATE_LENGTH ? insize : pos + MAX_SUPPORTED_DEFLATE_L… in encodeLZ77()1691 if(!lazy && length >= 3 && length <= maxlazymatch && length < MAX_SUPPORTED_DEFLATE_LENGTH) { in encodeLZ77()