MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / getTreeInflateFixed

Function getTreeInflateFixed

samples/shared/lodepng.cpp:947–952  ·  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

945
946/*get the tree of a deflated block with fixed tree, as specified in the deflate specification*/
947static void getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d)
948{
949 /*TODO: check for out of memory errors*/
950 generateFixedLitLenTree(tree_ll);
951 generateFixedDistanceTree(tree_d);
952}
953
954/*get the tree of a deflated block with dynamic tree, the tree itself is also Huffman compressed with a known tree*/
955static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d,

Callers 1

inflateHuffmanBlockFunction · 0.85

Calls 2

generateFixedLitLenTreeFunction · 0.85

Tested by

no test coverage detected