5 struct jpeg_decdata *jpeg_alloc(void);
6 int jpeg_decode(struct jpeg_decdata *jpeg, unsigned char *buf);
7 void jpeg_get_size(struct jpeg_decdata *jpeg, int *width, int *height);
8 int jpeg_show(struct jpeg_decdata *jpeg, unsigned char *pic
9 , int width, int height, int depth);