ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ciq.h
(Generate patch)

Comparing ray/src/px/ciq.h (file contents):
Revision 2.3 by schorsch, Mon Jul 14 22:24:00 2003 UTC vs.
Revision 2.4 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 11 | Line 11
11   extern "C" {
12   #endif
13  
14 < #define red(i) ((i)>>7&0xf8|4)  /* 5 bits red, 5 bits green, 5 bits blue */
15 < #define gre(i) ((i)>>2&0xf8|4)
16 < #define blu(i) ((i)<<3&0xf8|4)
14 > #define red(i) (((i)>>7&0xf8)|4)        /* 5 bits red, 5 bits green, 5 bits blue */
15 > #define gre(i) (((i)>>2&0xf8)|4)
16 > #define blu(i) (((i)<<3&0xf8)|4)
17   #define len 32768
18  
19   extern int hist[len];   /* list of frequencies or pixelvalues for coded color */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines