Searched refs:readBitFromStream (Results 1 – 2 of 2) sorted by relevance
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng_util.cpp | 294 unsigned long readBitFromStream(size_t& bitp, const unsigned char* bits) in readBitFromStream() function 304 for(size_t i = 0; i < nbits; i++) result += (readBitFromStream(bitp, bits)) << i; in readBitsFromStream() 370 BFINAL = readBitFromStream(bp, &in[inpos]); in inflate() 371 …unsigned long BTYPE = readBitFromStream(bp, &in[inpos]); BTYPE += 2 * readBitFromStream(bp, &in[in… in inflate() 401 error = codetree.decode(decoded, ct, treepos, readBitFromStream(bp, in)); in huffmanDecodeSymbol()
|
D | lodepng.cpp | 424 static unsigned char readBitFromStream(size_t* bitpointer, const unsigned char* bitstream) in readBitFromStream() function 1233 BFINAL = readBitFromStream(&bp, in); in lodepng_inflatev() 1234 BTYPE = 1 * readBitFromStream(&bp, in); in lodepng_inflatev() 1235 BTYPE += 2 * readBitFromStream(&bp, in); in lodepng_inflatev()
|