| 4 | |
| 5 | /* Header of GEM Image Files */ |
| 6 | typedef struct IMG_HEADER { |
| 7 | short version; /* Img file format version (1) */ |
| 8 | short length; /* Header length in words (8) */ |
| 9 | short planes; /* Number of bit-planes (1) */ |
| 10 | short pat_len; /* length of Patterns (2) */ |
| 11 | short pix_w; /* Pixel width in 1/1000 mmm (372) */ |
| 12 | short pix_h; /* Pixel height in 1/1000 mmm (372) */ |
| 13 | short img_w; /* Pixels per line (=(x+7)/8 Bytes) */ |
| 14 | short img_h; /* Total number of lines */ |
| 15 | long magic; /* Contains "XIMG" if standard color */ |
| 16 | short paltype; /* palette type (0=RGB (short each)) */ |
| 17 | short *palette; /* palette etc. */ |
| 18 | char *addr; /* Address for the depacked bit-planes */ |
| 19 | } IMG_header; |
| 20 | |
| 21 | /* ------------------------------------------- */ |
| 22 | /* error codes */ |
nothing calls this directly
no outgoing calls
no test coverage detected