Home | History | Annotate | Download | only in lodepng

Lines Matching refs:readBitsFromStream

301   unsigned long readBitsFromStream(size_t& bitp, const unsigned char* bits, size_t nbits)
414 size_t HLIT = readBitsFromStream(bp, in, 5) + 257; //number of literal/length codes + 257
415 size_t HDIST = readBitsFromStream(bp, in, 5) + 1; //number of dist codes + 1
416 size_t HCLEN = readBitsFromStream(bp, in, 4) + 4; //number of code length codes + 4
421 for(size_t i = 0; i < 19; i++) codelengthcode[CLCL[i]] = (i < HCLEN) ? readBitsFromStream(bp, in, 3) : 0;
434 replength = 3 + readBitsFromStream(bp, in, 2);
447 replength = 3 + readBitsFromStream(bp, in, 3);
458 replength = 11 + readBitsFromStream(bp, in, 7);
508 length += readBitsFromStream(bp, in, numextrabits);
513 dist += readBitsFromStream(bp, in, numextrabitsD);