Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c1506 static unsigned hash_init(Hash* hash, unsigned windowsize) { in hash_init() argument
1509 hash->val = (int*)lodepng_malloc(sizeof(int) * windowsize); in hash_init()
1510 hash->chain = (unsigned short*)lodepng_malloc(sizeof(unsigned short) * windowsize); in hash_init()
1512 hash->zeros = (unsigned short*)lodepng_malloc(sizeof(unsigned short) * windowsize); in hash_init()
1514 hash->chainz = (unsigned short*)lodepng_malloc(sizeof(unsigned short) * windowsize); in hash_init()
1522 for(i = 0; i != windowsize; ++i) hash->val[i] = -1; in hash_init()
1523 …for(i = 0; i != windowsize; ++i) hash->chain[i] = i; /*same value as index indicates uninitialized… in hash_init()
1526 …for(i = 0; i != windowsize; ++i) hash->chainz[i] = i; /*same value as index indicates uninitialize… in hash_init()
1593 … const unsigned char* in, size_t inpos, size_t insize, unsigned windowsize, in encodeLZ77() argument
1598 unsigned maxchainlength = windowsize >= 8192 ? windowsize : windowsize / 8u; in encodeLZ77()
[all …]
Dlodepng.h311 …unsigned windowsize; /*must be a power of two <= 32768. higher compresses more but is slower. Defa… member