Revision: | 2.2 |
Committed: | Sat Feb 22 02:07:27 2003 UTC (22 years, 2 months ago) by greg |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | rad3R5 |
Changes since 2.1: | +1 -4 lines |
Log Message: | Changes and check-in for 3.5 release Includes new source files and modifications not recorded for many years See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release |
# | Content |
---|---|
1 | /* RCSid: $Id$ */ |
2 | /* the following three structures are used by ciq */ |
3 | |
4 | typedef int colormap[3][256]; |
5 | |
6 | typedef unsigned char pixel; |
7 | |
8 | typedef struct { |
9 | pixel r,g,b; |
10 | } rgbpixel; |
11 | |
12 | #define rgb_bright(p) (int)((77L*(p)->r+151L*(p)->g+28L*(p)->b)/256) |
13 | |
14 | /* image resolution */ |
15 | extern int xmax,ymax; |