| 20 |
|
#define INVALID -1 |
| 21 |
|
#endif |
| 22 |
|
|
| 23 |
+ |
#ifndef LORES |
| 24 |
+ |
#define SFLOAT double |
| 25 |
+ |
#else |
| 26 |
+ |
#define SFLOAT float |
| 27 |
+ |
#endif |
| 28 |
|
|
| 29 |
|
typedef struct samp { |
| 30 |
< |
float (*wp)[3]; /* world intersection point array */ |
| 30 |
> |
SFLOAT (*wp)[3]; /* world intersection point array */ |
| 31 |
|
int4 *wd; /* world direction array */ |
| 27 |
– |
#ifndef HP_VERSION |
| 32 |
|
TMbright *brt; /* encoded brightness array */ |
| 29 |
– |
#endif |
| 33 |
|
BYTE (*chr)[3]; /* encoded chrominance array */ |
| 34 |
|
BYTE (*rgb)[3]; /* tone-mapped color array */ |
| 35 |
|
int *info; /* Extra sample info */ |