Searched refs:zeros (Results 1 – 1 of 1) sorted by relevance
1503 unsigned short* zeros; /*length of zeros streak, used as a second hash chain*/ member1512 hash->zeros = (unsigned short*)lodepng_malloc(sizeof(unsigned short) * windowsize); in hash_init()1516 if(!hash->head || !hash->chain || !hash->val || !hash->headz|| !hash->chainz || !hash->zeros) { in hash_init()1536 lodepng_free(hash->zeros); in hash_cleanup()1578 hash->zeros[wpos] = numzeros; in updateHashChain()1657 unsigned skip = hash->zeros[hashpos]; in encodeLZ77()1682 if(hash->zeros[hashpos] != numzeros) break; in encodeLZ77()