Lines Matching refs:photometric
77 uint16 photometric;
94 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) {
97 photometric = PHOTOMETRIC_MINISBLACK;
100 photometric = PHOTOMETRIC_RGB;
107 switch (photometric) {
117 photoTag, photometric,
178 photoTag, photometric);
266 if( !TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric))
267 img->photometric = PHOTOMETRIC_MINISWHITE;
271 && img->photometric == PHOTOMETRIC_RGB )
281 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric)) {
285 img->photometric = PHOTOMETRIC_MINISWHITE;
287 img->photometric = PHOTOMETRIC_MINISBLACK;
290 img->photometric = PHOTOMETRIC_RGB;
297 switch (img->photometric) {
328 photoTag, img->photometric,
348 img->photometric = PHOTOMETRIC_RGB;
385 img->photometric = PHOTOMETRIC_MINISBLACK; /* little white lie */
400 img->photometric = PHOTOMETRIC_RGB; /* little white lie */
407 photoTag, img->photometric);
2161 "No space for photometric conversion table");
2164 if (img->photometric == PHOTOMETRIC_MINISWHITE) {
2172 (img->photometric == PHOTOMETRIC_MINISBLACK ||
2173 img->photometric == PHOTOMETRIC_MINISWHITE)) {
2175 * Use photometric mapping table to construct
2283 switch (img->photometric) {
2324 switch (img->photometric) {
2400 switch (img->photometric) {