Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c662 …unsigned char* table_len; /*length of symbol from lookup table, or max length if secondary lookup … member
669 tree->table_len = 0; in HuffmanTree_init()
676 lodepng_free(tree->table_len); in HuffmanTree_cleanup()
713 tree->table_len = (unsigned char*)lodepng_malloc(size * sizeof(*tree->table_len)); in HuffmanTree_makeTable()
715 if(!tree->table_len || !tree->table_value) { in HuffmanTree_makeTable()
721 for(i = 0; i < size; ++i) tree->table_len[i] = 16; in HuffmanTree_makeTable()
728 tree->table_len[i] = l; in HuffmanTree_makeTable()
751 …if(tree->table_len[index] != 16) return 55; /*invalid tree: long symbol shares prefix with short s… in HuffmanTree_makeTable()
752 tree->table_len[index] = l; in HuffmanTree_makeTable()
759 unsigned maxlen = tree->table_len[index]; in HuffmanTree_makeTable()
[all …]