Home
last modified time | relevance | path

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

/lvgl-latest/src/extra/libs/png/
Dlodepng.c660 unsigned numcodes; /*number of symbols in the alphabet = number of codes*/ member
698 for(i = 0; i < tree->numcodes; i++) { in HuffmanTree_makeTable()
736 for(i = 0; i < tree->numcodes; ++i) { in HuffmanTree_makeTable()
815 tree->codes = (unsigned*)lodepng_malloc(tree->numcodes * sizeof(unsigned)); in HuffmanTree_makeFromLengths2()
823 for(bits = 0; bits != tree->numcodes; ++bits) ++blcount[tree->lengths[bits]]; in HuffmanTree_makeFromLengths2()
829 for(n = 0; n != tree->numcodes; ++n) { in HuffmanTree_makeFromLengths2()
851 size_t numcodes, unsigned maxbitlen) { in HuffmanTree_makeFromLengths() argument
853 tree->lengths = (unsigned*)lodepng_malloc(numcodes * sizeof(unsigned)); in HuffmanTree_makeFromLengths()
855 for(i = 0; i != numcodes; ++i) tree->lengths[i] = bitlen[i]; in HuffmanTree_makeFromLengths()
856 tree->numcodes = (unsigned)numcodes; /*number of symbols*/ in HuffmanTree_makeFromLengths()
[all …]
Dlodepng.h963 size_t numcodes, unsigned maxbitlen);