6 struct tagRGBQUAD *quadp;
13 /* allocate decdata struct */
14 struct bmp_decdata *bmp_alloc(void);
16 /* extract information from bmp file data */
17 int bmp_decode(struct bmp_decdata *bmp, unsigned char *data, int data_size);
19 /* get bmp properties */
20 void bmp_get_size(struct bmp_decdata *bmp, int *width, int *height);
22 /* flush flat picture data to *pc */
23 int bmp_show(struct bmp_decdata *bmp, unsigned char *pic, int width
24 , int height, int depth, int bytes_per_line_dest);