blob: a2ac501795a13ac946e58304bf20e9b58f033cc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef __JPEG_H
#define __JPEG_H
struct jpeg_decdata;
struct jpeg_decdata *jpeg_alloc(void);
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);
#endif
|