get the tree of a deflated block with fixed tree, as specified in the deflate specification Returns error code.*/
| 1121 | /*get the tree of a deflated block with fixed tree, as specified in the deflate specification |
| 1122 | Returns error code.*/ |
| 1123 | static unsigned getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d) { |
| 1124 | unsigned error = generateFixedLitLenTree(tree_ll); |
| 1125 | if(error) return error; |
| 1126 | return generateFixedDistanceTree(tree_d); |
| 1127 | } |
| 1128 | |
| 1129 | /*get the tree of a deflated block with dynamic tree, the tree itself is also Huffman compressed with a known tree*/ |
| 1130 | static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d, |
no test coverage detected