Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


imported SEABIOS source tree
[palacios.git] / bios / seabios / src / bmp.h
1 #ifndef BMP_H
2 #define BMP_H
3 #include "types.h"
4
5 struct bmp_decdata {
6     struct tagRGBQUAD *quadp;
7     unsigned char *datap;
8     int width;
9     int height;
10     int bpp;
11 };
12
13 /* allocate decdata struct */
14 struct bmp_decdata *bmp_alloc(void);
15
16 /* extract information from bmp file data */
17 int bmp_decode(struct bmp_decdata *bmp, unsigned char *data, int data_size);
18
19 /* get bmp properties */
20 void bmp_get_size(struct bmp_decdata *bmp, int *width, int *height);
21
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);
25 #endif