MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / getTreeInflateFixed

Function getTreeInflateFixed

dependency/densecrf/examples/lodepng.cpp:975–980  ·  view source on GitHub ↗

get the tree of a deflated block with fixed tree, as specified in the deflate specification*/

Source from the content-addressed store, hash-verified

973
974/*get the tree of a deflated block with fixed tree, as specified in the deflate specification*/
975static void getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d)
976{
977 /*TODO: check for out of memory errors*/
978 generateFixedLitLenTree(tree_ll);
979 generateFixedDistanceTree(tree_d);
980}
981
982/*get the tree of a deflated block with dynamic tree, the tree itself is also Huffman compressed with a known tree*/
983static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d,

Callers 1

inflateHuffmanBlockFunction · 0.85

Calls 2

generateFixedLitLenTreeFunction · 0.85

Tested by

no test coverage detected