Home
last modified time | relevance | path

Searched refs:readBitsFromStream (Results 1 – 2 of 2) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
Dlodepng_util.cpp301 unsigned long readBitsFromStream(size_t& bitp, const unsigned char* bits, size_t nbits) in readBitsFromStream() function
414 size_t HLIT = readBitsFromStream(bp, in, 5) + 257; //number of literal/length codes + 257 in getTreeInflateDynamic()
415 size_t HDIST = readBitsFromStream(bp, in, 5) + 1; //number of dist codes + 1 in getTreeInflateDynamic()
416 size_t HCLEN = readBitsFromStream(bp, in, 4) + 4; //number of code length codes + 4 in getTreeInflateDynamic()
421 …for(size_t i = 0; i < 19; i++) codelengthcode[CLCL[i]] = (i < HCLEN) ? readBitsFromStream(bp, in, … in getTreeInflateDynamic()
434 replength = 3 + readBitsFromStream(bp, in, 2); in getTreeInflateDynamic()
447 replength = 3 + readBitsFromStream(bp, in, 3); in getTreeInflateDynamic()
458 replength = 11 + readBitsFromStream(bp, in, 7); in getTreeInflateDynamic()
508 length += readBitsFromStream(bp, in, numextrabits); in inflateHuffmanBlock()
513 dist += readBitsFromStream(bp, in, numextrabitsD); in inflateHuffmanBlock()
Dlodepng.cpp431 static unsigned readBitsFromStream(size_t* bitpointer, const unsigned char* bitstream, size_t nbits) in readBitsFromStream() function
956 HLIT = readBitsFromStream(bp, in, 5) + 257; in getTreeInflateDynamic()
958 HDIST = readBitsFromStream(bp, in, 5) + 1; in getTreeInflateDynamic()
960 HCLEN = readBitsFromStream(bp, in, 4) + 4; in getTreeInflateDynamic()
973 if(i < HCLEN) bitlen_cl[CLCL_ORDER[i]] = readBitsFromStream(bp, in, 3); in getTreeInflateDynamic()
1006 replength += readBitsFromStream(bp, in, 2); in getTreeInflateDynamic()
1024 replength += readBitsFromStream(bp, in, 3); in getTreeInflateDynamic()
1041 replength += readBitsFromStream(bp, in, 7); in getTreeInflateDynamic()
1126 length += readBitsFromStream(bp, in, numextrabits_l); in inflateHuffmanBlock()
1147 distance += readBitsFromStream(bp, in, numextrabits_d); in inflateHuffmanBlock()