Lines Matching refs:tree_ll

1122 static unsigned getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d) {  in getTreeInflateFixed()  argument
1123 unsigned error = generateFixedLitLenTree(tree_ll); in getTreeInflateFixed()
1129 static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d, in getTreeInflateDynamic() argument
1246 error = HuffmanTree_makeFromLengths(tree_ll, bitlen_ll, NUM_DEFLATE_CODE_SYMBOLS, 15); in getTreeInflateDynamic()
1265 HuffmanTree tree_ll; /*the huffman tree for literal and length codes*/ in inflateHuffmanBlock() local
1268 HuffmanTree_init(&tree_ll); in inflateHuffmanBlock()
1271 if(btype == 1) error = getTreeInflateFixed(&tree_ll, &tree_d); in inflateHuffmanBlock()
1272 else /*if(btype == 2)*/ error = getTreeInflateDynamic(&tree_ll, &tree_d, reader); in inflateHuffmanBlock()
1278 code_ll = huffmanDecodeSymbol(reader, &tree_ll); in inflateHuffmanBlock()
1349 HuffmanTree_cleanup(&tree_ll); in inflateHuffmanBlock()
1782 const HuffmanTree* tree_ll, const HuffmanTree* tree_d) { in writeLZ77data() argument
1786 writeBitsReversed(writer, tree_ll->codes[val], tree_ll->lengths[val]); in writeLZ77data()
1824 HuffmanTree tree_ll; /*tree for lit,len values*/ in deflateDynamic() local
1849 HuffmanTree_init(&tree_ll); in deflateDynamic()
1888 error = HuffmanTree_makeFromFrequencies(&tree_ll, frequencies_ll, 257, 286, 15); in deflateDynamic()
1894 numcodes_ll = LODEPNG_MIN(tree_ll.numcodes, 286); in deflateDynamic()
1904 for(i = 0; i != numcodes_ll; ++i) bitlen_lld[i] = tree_ll.lengths[i]; in deflateDynamic()
2004 writeLZ77data(writer, &lz77_encoded, &tree_ll, &tree_d); in deflateDynamic()
2006 if(tree_ll.lengths[256] == 0) ERROR_BREAK(64); in deflateDynamic()
2009 writeBitsReversed(writer, tree_ll.codes[256], tree_ll.lengths[256]); in deflateDynamic()
2016 HuffmanTree_cleanup(&tree_ll); in deflateDynamic()
2032 HuffmanTree tree_ll; /*tree for literal values and length codes*/ in deflateFixed() local
2039 HuffmanTree_init(&tree_ll); in deflateFixed()
2042 error = generateFixedLitLenTree(&tree_ll); in deflateFixed()
2055 if(!error) writeLZ77data(writer, &lz77_encoded, &tree_ll, &tree_d); in deflateFixed()
2059 writeBitsReversed(writer, tree_ll.codes[data[i]], tree_ll.lengths[data[i]]); in deflateFixed()
2063 if(!error) writeBitsReversed(writer,tree_ll.codes[256], tree_ll.lengths[256]); in deflateFixed()
2067 HuffmanTree_cleanup(&tree_ll); in deflateFixed()