Lines Matching defs:huffman
1099 // - fast huffman; reasonable integer IDCT
1108 // huffman decoding acceleration
1120 } huffman;
1128 huffman huff_dc[4];
1129 huffman huff_ac[4];
1161 static int build_huffman(huffman *h, int *count)
1222 // decode a jpeg huffman value from the bitstream
1223 __forceinline static int decode(jpeg *j, huffman *h)
1262 // convert the huffman code to the symbol id
1317 static int decode_block(jpeg *j, short data[64], huffman *hdc, huffman *hac, int b)
1321 if (t < 0) return e("bad huffman code","Corrupt JPEG");
1336 if (rs < 0) return e("bad huffman code","Corrupt JPEG");
1618 case 0xC4: // DHT - define huffman table
2182 // - fast huffman
2184 // fast-way is faster to check than jpeg huffman, but slow way is slower
2188 // zlib-style huffman encoding
2370 if (z < 0) return e("bad huffman code","Corrupt PNG"); // error in huffman codes
2381 if (z < 0) return e("bad huffman code","Corrupt PNG");
2651 // - uses stb_zlib, a PD zlib implementation with fast huffman decoding
5072 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less