Searched refs:headz (Results 1 – 1 of 1) sorted by relevance
1501 int* headz; /*similar to head, but for chainz*/ member1513 hash->headz = (int*)lodepng_malloc(sizeof(int) * (MAX_SUPPORTED_DEFLATE_LENGTH + 1)); in hash_init()1516 if(!hash->head || !hash->chain || !hash->val || !hash->headz|| !hash->chainz || !hash->zeros) { in hash_init()1525 for(i = 0; i <= MAX_SUPPORTED_DEFLATE_LENGTH; ++i) hash->headz[i] = -1; in hash_init()1537 lodepng_free(hash->headz); in hash_cleanup()1579 if(hash->headz[numzeros] != -1) hash->chainz[wpos] = hash->headz[numzeros]; in updateHashChain()1580 hash->headz[numzeros] = (int)wpos; in updateHashChain()1707 hash->headz[numzeros] = -1; /*idem*/ in encodeLZ77()