OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:readBitsFromStream
(Results
1 - 2
of
2
) sorted by null
/external/zopfli/src/zopflipng/lodepng/
lodepng_util.cpp
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)
[
all
...]
lodepng.cpp
431
static unsigned
readBitsFromStream
(size_t* bitpointer, const unsigned char* bitstream, size_t nbits)
956
HLIT =
readBitsFromStream
(bp, in, 5) + 257;
958
HDIST =
readBitsFromStream
(bp, in, 5) + 1;
960
HCLEN =
readBitsFromStream
(bp, in, 4) + 4;
973
if(i < HCLEN) bitlen_cl[CLCL_ORDER[i]] =
readBitsFromStream
(bp, in, 3);
[
all
...]
Completed in 418 milliseconds