34 |
|
|
35 |
|
extern int odNViews; /* number of views in our list */ |
36 |
|
|
37 |
+ |
extern TMstruct *tmGlobal; /* global tone-mapping structure */ |
38 |
+ |
|
39 |
|
extern struct ODsamp { |
40 |
|
union ODfunion { |
41 |
|
float prox; /* viewpoint proximity */ |
44 |
|
} *f; /* free list next or proximity */ |
45 |
|
short (*ip)[2]; /* image position array */ |
46 |
|
TMbright *brt; /* encoded brightness array */ |
47 |
< |
BYTE (*chr)[3]; /* encoded chrominance array */ |
48 |
< |
BYTE (*rgb)[3]; /* tone-mapped color array */ |
47 |
> |
uby8 (*chr)[3]; /* encoded chrominance array */ |
48 |
> |
uby8 (*rgb)[3]; /* tone-mapped color array */ |
49 |
|
int32 *redraw; /* redraw flags */ |
50 |
|
int nsamp; /* total number of samples */ |
51 |
|
char *base; /* base of allocated memory */ |