Lines Matching defs:decode
1222 // decode a jpeg huffman value from the bitstream
1223 __forceinline static int decode(jpeg *j, huffman *h)
1316 // decode one 64-entry block--
1320 int t = decode(j, hdc);
1331 // decode AC components, see JPEG spec
1335 int rs = decode(j, hac);
1344 // decode into unzigzag'd location
1710 if ((1 << 30) / s->img_x / s->img_n < s->img_y) return e("too large", "Image too large to decode");
1729 // to simplify generation, we'll allocate enough memory to decode
2177 // public domain zlib decode v0.2 Sean Barrett 2006-11-18
2991 if ((1 << 30) / s->img_x / s->img_n < s->img_y) return e("too large", "Image too large to decode");
3374 if (req_comp && req_comp >= 3) // we can directly decode 3 or 4
4247 if ((1 << 28) / x < y) return epuc("too large", "Image too large to decode");
4426 // recurse to decode the prefixes, since the linked-list is backwards,