| 83 |
|
int cdiv[3]; /* computed color divisors */ |
| 84 |
|
RGBPRIMP inppri; /* current input primaries */ |
| 85 |
|
double inpsf; /* current input scalefactor */ |
| 86 |
– |
void *inpdat; /* current input client data */ |
| 86 |
|
COLORMAT cmat; /* color conversion matrix */ |
| 87 |
|
TMbright hbrmin, hbrmax; /* histogram brightness limits */ |
| 88 |
|
HIST_TYP *histo; /* input histogram */ |
| 153 |
|
*/ |
| 154 |
|
|
| 155 |
|
extern int |
| 156 |
< |
tmSetSpace(TMstruct *tms, RGBPRIMP pri, double sf, void *dat); |
| 156 |
> |
tmSetSpace(TMstruct *tms, RGBPRIMP pri, double sf); |
| 157 |
|
/* |
| 158 |
|
Set color primaries and scale factor for incoming scanlines. |
| 159 |
|
|
| 160 |
|
tms - tone mapping structure pointer. |
| 161 |
|
pri - RGB color input primaries (Note 1). |
| 162 |
|
sf - scale factor to get to luminance in cd/m^2. |
| 164 |
– |
dat - application-specific data (NULL if not needed) |
| 163 |
|
|
| 164 |
|
returns - 0 on success, TM_E_* code on failure. |
| 165 |
|
*/ |