MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getTreeInflateFixed

Function getTreeInflateFixed

src/lodepng.cpp:930–935  ·  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

928
929/*get the tree of a deflated block with fixed tree, as specified in the deflate specification*/
930static void getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d)
931{
932 /*TODO: check for out of memory errors*/
933 generateFixedLitLenTree(tree_ll);
934 generateFixedDistanceTree(tree_d);
935}
936
937/*get the tree of a deflated block with dynamic tree, the tree itself is also Huffman compressed with a known tree*/
938static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d,

Callers 1

inflateHuffmanBlockFunction · 0.85

Calls 2

generateFixedLitLenTreeFunction · 0.85

Tested by

no test coverage detected