Revision: | 1.1 |
Committed: | Thu Feb 2 10:49:00 1989 UTC (36 years, 3 months ago) by greg |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | Initial revision |
# | Content |
---|---|
1 | /* the following three structures are used by ciq */ |
2 | |
3 | /* SCCSid "$SunId$ LBL" */ |
4 | |
5 | typedef int colormap[3][256]; |
6 | |
7 | typedef unsigned char pixel; |
8 | |
9 | typedef struct { |
10 | pixel r,g,b; |
11 | } rgbpixel; |
12 | |
13 | #define rgb_bright(p) (int)((77L*(p)->r+151L*(p)->g+28L*(p)->b)/256) |
14 | |
15 | /* image resolution */ |
16 | extern int xmax,ymax; |