# | Line 48 | Line 48 | typedef float COLOR[3]; /* red, green, blue */ | |
---|---|---|
48 | #define normbright(c) (int)((67L*(c)[RED]+168L*(c)[GRN]+21L*(c)[BLU])/256) | |
49 | #endif | |
50 | ||
51 | + | #define luminance(col) (470. * bright(col)) |
52 | + | |
53 | #define intens(col) ( (col)[0] > (col)[1] \ | |
54 | ? (col)[0] > (col)[2] ? (col)[0] : (col)[2] \ | |
55 | : (col)[1] > (col)[2] ? (col)[1] : (col)[2] ) | |
# | Line 65 | Line 67 | typedef float COLOR[3]; /* red, green, blue */ | |
67 | #define XDECR 1 | |
68 | #define YDECR 2 | |
69 | #define YMAJOR 4 | |
70 | + | |
71 | + | /* picture format identifier */ |
72 | + | #define COLRFMT "32-bit_rle_rgbe" |
73 | ||
74 | /* macros for exposures */ | |
75 | #define EXPOSSTR "EXPOSURE=" |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |