Searched refs:maxlens (Results 1 – 1 of 1) sorted by relevance
693 unsigned* maxlens = (unsigned*)lodepng_malloc(headsize * sizeof(unsigned)); in HuffmanTree_makeTable() local694 if(!maxlens) return 83; /*alloc fail*/ in HuffmanTree_makeTable()697 lodepng_memset(maxlens, 0, headsize * sizeof(*maxlens)); in HuffmanTree_makeTable()705 maxlens[index] = LODEPNG_MAX(maxlens[index], l); in HuffmanTree_makeTable()710 unsigned l = maxlens[i]; in HuffmanTree_makeTable()716 lodepng_free(maxlens); in HuffmanTree_makeTable()726 unsigned l = maxlens[i]; in HuffmanTree_makeTable()732 lodepng_free(maxlens); in HuffmanTree_makeTable()