1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
struct jhead { int bits, high, wide, clrs, vpred[4]; struct decode *huff[4]; unsigned short *row; }; void lossless_jpeg_load_raw(void); int ljpeg_start (FILE * ifp, struct jhead *jh); int ljpeg_diff (struct decode *dindex); void ljpeg_row (struct jhead *jh);