Searched refs:BTYPE (Results 1 - 2 of 2) sorted by relevance
/external/zopfli/src/zopflipng/lodepng/ |
H A D | lodepng_util.cpp | 371 unsigned long BTYPE = readBitFromStream(bp, &in[inpos]); BTYPE += 2 * readBitFromStream(bp, &in[inpos]); local 373 zlibinfo->back().btype = BTYPE; 374 if(BTYPE == 3) { error = 20; return; } //error: invalid BTYPE 375 else if(BTYPE == 0) inflateNoCompression(out, &in[inpos], bp, pos, in.size()); 376 else inflateHuffmanBlock(out, &in[inpos], bp, pos, in.size(), BTYPE);
|
H A D | lodepng.cpp | 1231 unsigned BTYPE; local 1234 BTYPE = 1 * readBitFromStream(&bp, in); 1235 BTYPE += 2 * readBitFromStream(&bp, in); 1237 if(BTYPE == 3) return 20; /*error: invalid BTYPE*/ 1238 else if(BTYPE == 0) error = inflateNoCompression(out, in, &bp, &pos, insize); /*no compression*/ 1239 else error = inflateHuffmanBlock(out, in, &bp, &pos, insize, BTYPE); /*compression, BTYPE 01 or 10*/ 1602 /*non compressed deflate block data: 1 bit BFINAL,2 bits BTYPE,(5 bits): it jumps to start of next byte, 1609 unsigned BFINAL, BTYPE, LE local [all...] |
Completed in 88 milliseconds