vgabios: Fix screen attrs on cga scroll.
[seabios.git] / src / jpeg.h
index 44c83d76842b250bde6ffd5686f3a55878f33efc..2d08f4544cc214c0b9d70ea829ab537cbcd18424 100644 (file)
@@ -3,8 +3,9 @@
 
 struct jpeg_decdata;
 struct jpeg_decdata *jpeg_alloc(void);
-int jpeg_decode(unsigned char *, unsigned char *, int, int, int,
-                struct jpeg_decdata *);
-int jpeg_check_size(struct jpeg_decdata *, unsigned char *, int, int);
+int jpeg_decode(struct jpeg_decdata *jpeg, unsigned char *buf);
+void jpeg_get_size(struct jpeg_decdata *jpeg, int *width, int *height);
+int jpeg_show(struct jpeg_decdata *jpeg, unsigned char *pic, int width
+              , int height, int depth, int bytes_per_line_dest);
 
 #endif