• Home
  • Raw
  • Download

Lines Matching refs:photometric

974 static TIFFMethodType GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric,  in GetJPEGMethod()  argument
1005 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || in GetJPEGMethod()
1258 photometric, in ReadTIFFImage() local
1341 photometric=PHOTOMETRIC_RGB; in ReadTIFFImage()
1344 (TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric,sans) != 1) || in ReadTIFFImage()
1366 switch (photometric) in ReadTIFFImage()
1466 if ((photometric == PHOTOMETRIC_MINISBLACK) || in ReadTIFFImage()
1467 (photometric == PHOTOMETRIC_MINISWHITE)) in ReadTIFFImage()
1469 if (photometric == PHOTOMETRIC_SEPARATED) in ReadTIFFImage()
1471 if (photometric == PHOTOMETRIC_CIELAB) in ReadTIFFImage()
1473 if ((photometric == PHOTOMETRIC_YCBCR) && (compress_tag != COMPRESSION_JPEG)) in ReadTIFFImage()
1592 if ((photometric == PHOTOMETRIC_PALETTE) && in ReadTIFFImage()
1684 switch (photometric) in ReadTIFFImage()
1707 if ((samples_per_pixel == 4) && (photometric == PHOTOMETRIC_RGB)) in ReadTIFFImage()
1764 if ((photometric == PHOTOMETRIC_LOGLUV) || in ReadTIFFImage()
1768 method=GetJPEGMethod(image,tiff,photometric,bits_per_sample, in ReadTIFFImage()
2152 if (photometric == PHOTOMETRIC_CIELAB) in ReadTIFFImage()
2154 if ((photometric == PHOTOMETRIC_LOGL) || in ReadTIFFImage()
2155 (photometric == PHOTOMETRIC_MINISBLACK) || in ReadTIFFImage()
2156 (photometric == PHOTOMETRIC_MINISWHITE)) in ReadTIFFImage()
3320 photometric, in WriteTIFFImage() local
3544 photometric=PHOTOMETRIC_SEPARATED; in WriteTIFFImage()
3555 photometric=PHOTOMETRIC_CIELAB; in WriteTIFFImage()
3561 photometric=PHOTOMETRIC_YCBCR; in WriteTIFFImage()
3570 photometric=PHOTOMETRIC_RGB; in WriteTIFFImage()
3578 photometric=(uint16) (quantum_info->min_is_white != in WriteTIFFImage()
3596 photometric=PHOTOMETRIC_PALETTE; in WriteTIFFImage()
3611 if ((photometric != PHOTOMETRIC_MINISWHITE) && in WriteTIFFImage()
3612 (photometric != PHOTOMETRIC_MINISBLACK)) in WriteTIFFImage()
3658 (void) TIFFSetField(tiff,TIFFTAG_PHOTOMETRIC,photometric); in WriteTIFFImage()
3682 if (photometric == PHOTOMETRIC_RGB) in WriteTIFFImage()
3744 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3745 (photometric == PHOTOMETRIC_SEPARATED) || in WriteTIFFImage()
3746 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3767 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3768 (photometric == PHOTOMETRIC_SEPARATED) || in WriteTIFFImage()
3769 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3782 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3783 (photometric == PHOTOMETRIC_SEPARATED) || in WriteTIFFImage()
3784 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3794 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3795 (photometric == PHOTOMETRIC_SEPARATED) || in WriteTIFFImage()
3796 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3810 if (((photometric == PHOTOMETRIC_RGB) || in WriteTIFFImage()
3811 (photometric == PHOTOMETRIC_SEPARATED) || in WriteTIFFImage()
3812 (photometric == PHOTOMETRIC_MINISBLACK)) && in WriteTIFFImage()
3927 switch (photometric) in WriteTIFFImage()
4136 if (photometric != PHOTOMETRIC_PALETTE) in WriteTIFFImage()
4142 if (photometric != PHOTOMETRIC_PALETTE) in WriteTIFFImage()