Lines Matching refs:photometric
919 static TIFFMethodType GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric, in GetJPEGMethod() argument
948 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || in GetJPEGMethod()
1127 photometric, in ReadTIFFImage() local
1213 (TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric) != 1)) in ReadTIFFImage()
1221 switch (photometric) in ReadTIFFImage()
1321 if ((photometric == PHOTOMETRIC_MINISBLACK) || in ReadTIFFImage()
1322 (photometric == PHOTOMETRIC_MINISWHITE)) in ReadTIFFImage()
1324 if (photometric == PHOTOMETRIC_SEPARATED) in ReadTIFFImage()
1326 if (photometric == PHOTOMETRIC_CIELAB) in ReadTIFFImage()
1450 switch (photometric) in ReadTIFFImage()
1472 if ((samples_per_pixel == 4) && (photometric == PHOTOMETRIC_RGB)) in ReadTIFFImage()
1491 if ((photometric == PHOTOMETRIC_PALETTE) && in ReadTIFFImage()
1581 if ((photometric != PHOTOMETRIC_RGB) && in ReadTIFFImage()
1582 (photometric != PHOTOMETRIC_CIELAB) && in ReadTIFFImage()
1583 (photometric != PHOTOMETRIC_SEPARATED)) in ReadTIFFImage()
1587 if ((photometric == PHOTOMETRIC_MINISBLACK) || in ReadTIFFImage()
1588 (photometric == PHOTOMETRIC_MINISWHITE)) in ReadTIFFImage()
1590 if ((photometric != PHOTOMETRIC_SEPARATED) && in ReadTIFFImage()
1594 method=GetJPEGMethod(image,tiff,photometric,bits_per_sample, in ReadTIFFImage()
2076 if (photometric == PHOTOMETRIC_CIELAB) in ReadTIFFImage()
2078 if ((photometric == PHOTOMETRIC_LOGL) || in ReadTIFFImage()
2079 (photometric == PHOTOMETRIC_MINISBLACK) || in ReadTIFFImage()
2080 (photometric == PHOTOMETRIC_MINISWHITE)) in ReadTIFFImage()
3132 photometric; in WriteTIFFImage() local
3339 photometric=PHOTOMETRIC_SEPARATED; in WriteTIFFImage()
3350 photometric=PHOTOMETRIC_CIELAB; in WriteTIFFImage()
3356 photometric=PHOTOMETRIC_YCBCR; in WriteTIFFImage()
3362 photometric=PHOTOMETRIC_RGB; in WriteTIFFImage()
3370 photometric=(uint16) (quantum_info->min_is_white != in WriteTIFFImage()
3388 photometric=PHOTOMETRIC_PALETTE; in WriteTIFFImage()
3401 (photometric != PHOTOMETRIC_MINISWHITE)) in WriteTIFFImage()
3408 (photometric != PHOTOMETRIC_MINISWHITE)) in WriteTIFFImage()
3453 (void) TIFFSetField(tiff,TIFFTAG_PHOTOMETRIC,photometric); in WriteTIFFImage()
3478 if (photometric == PHOTOMETRIC_RGB) in WriteTIFFImage()
3543 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3544 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3569 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3570 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3583 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3584 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3688 switch (photometric) in WriteTIFFImage()
3889 if (photometric != PHOTOMETRIC_PALETTE) in WriteTIFFImage()
3895 if (photometric != PHOTOMETRIC_PALETTE) in WriteTIFFImage()