17 |
|
#endif |
18 |
|
|
19 |
|
extern struct ODview { |
20 |
+ |
int sfirst, snext; /* first sample and first in next view */ |
21 |
|
short hhi, vhi; /* screen image resolution */ |
22 |
|
short hlow, vlow; /* block resolution */ |
23 |
|
struct ODblock { |
25 |
|
short nused; /* number actually allocated */ |
26 |
|
int first; /* first sample in this block */ |
27 |
|
int free; /* index for block free list */ |
28 |
+ |
float pthresh; /* proximity threshold */ |
29 |
|
} *bmap; /* low resolution image map */ |
30 |
|
int4 *emap; /* low resolution edge presence map */ |
31 |
+ |
int4 *pmap; /* high resolution presence map */ |
32 |
|
GLfloat *dmap; /* high resolution depth map */ |
33 |
|
} *odView; /* our view list */ |
34 |
|
|
121 |
|
|
122 |
|
|
123 |
|
void |
124 |
< |
odRemap() : recompute tone mapping |
124 |
> |
odRemap(newhist) : recompute tone mapping |
125 |
> |
int newhist; : flag whether to clear history |
126 |
|
|
127 |
|
Recompute the tone mapping for all the samples in all the views |
128 |
< |
and redraw them on the next call(s) to odUpdate(). |
128 |
> |
and redraw them on the next call(s) to odUpdate(). If newhist |
129 |
> |
is non-zero, then clear the previous sample history. |
130 |
|
|
131 |
|
**********************************************************************/ |