Searched refs:HDIST (Results 1 - 2 of 2) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng_util.cpp415 size_t HDIST = readBitsFromStream(bp, in, 5) + 1; //number of dist codes + 1 local
418 zlibinfo->back().hdist = HDIST - 1;
426 while(i < HLIT + HDIST)
440 if(i >= HLIT + HDIST) { error = 13; return; } //error: i is larger than the amount of codes
451 if(i >= HLIT + HDIST) { error = 14; return; } //error: i is larger than the amount of codes
462 if(i >= HLIT + HDIST) { error = 15; return; } //error: i is larger than the amount of codes
470 if(error) return; //now we've finally got HLIT and HDIST, so generate the code trees, and the function is done
H A Dlodepng.cpp943 unsigned n, HLIT, HDIST, HCLEN, i; local
958 HDIST = readBitsFromStream(bp, in, 5) + 1;
989 while(i < HLIT + HDIST)
1013 if(i >= HLIT + HDIST) ERROR_BREAK(13); /*error: i is larger than the amount of codes*/
1029 if(i >= HLIT + HDIST) ERROR_BREAK(14); /*error: i is larger than the amount of codes*/
1046 if(i >= HLIT + HDIST) ERROR_BREAK(15); /*error: i is larger than the amount of codes*/
1069 /*now we've finally got HLIT and HDIST, so generate the code trees, and the function is done*/
1713 unsigned HLIT, HDIST, HCLEN; local
1851 - 5 bits HLIT, 5 bits HDIST, 4 bits HCLEN
1855 - HDIST
[all...]

Completed in 343 milliseconds