Searched refs:headsize (Results 1 – 1 of 1) sorted by relevance
690 static const unsigned headsize = 1u << FIRSTBITS; /*size of the first table*/ in HuffmanTree_makeTable() local693 unsigned* maxlens = (unsigned*)lodepng_malloc(headsize * sizeof(unsigned)); in HuffmanTree_makeTable()697 lodepng_memset(maxlens, 0, headsize * sizeof(*maxlens)); in HuffmanTree_makeTable()708 size = headsize; in HuffmanTree_makeTable()709 for(i = 0; i < headsize; ++i) { in HuffmanTree_makeTable()724 pointer = headsize; in HuffmanTree_makeTable()725 for(i = 0; i < headsize; ++i) { in HuffmanTree_makeTable()787 tree->table_len[i] = (i < headsize) ? 1 : (FIRSTBITS + 1); in HuffmanTree_makeTable()