lodepng_util.cpp | 350 if(treepos >= numcodes) return 11; //error: you appeared outside the codetree 393 HuffmanTree codetree, codetreeD, codelengthcodetree; member in struct:lodepng::ExtractZlib 394 unsigned long huffmanDecodeSymbol(const unsigned char* in, size_t& bp, const HuffmanTree& codetree, size_t inlength) 401 error = codetree.decode(decoded, ct, treepos, readBitFromStream(bp, in)); 484 if(btype == 1) { generateFixedTrees(codetree, codetreeD); } 485 else if(btype == 2) { getTreeInflateDynamic(codetree, codetreeD, in, bp, inlength); if(error) return; } 488 unsigned long code = huffmanDecodeSymbol(in, bp, codetree, inlength); if(error) return;
|