Searched refs:td_photometric (Results 1 – 11 of 11) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_print.c | 350 if (td->td_photometric < NPHOTONAMES) in TIFFPrintDirectory() 351 fprintf(fd, "%s\n", photoNames[td->td_photometric]); in TIFFPrintDirectory() 353 switch (td->td_photometric) { in TIFFPrintDirectory() 362 td->td_photometric, td->td_photometric); in TIFFPrintDirectory()
|
D | tif_luv.c | 1277 assert(td->td_photometric == PHOTOMETRIC_LOGL); in LogL16InitState() 1369 assert(td->td_photometric == PHOTOMETRIC_LOGLUV); in LogLuvInitState() 1424 switch (td->td_photometric) { in LogLuvSetupDecode() 1472 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupDecode() 1485 switch (td->td_photometric) { in LogLuvSetupEncode() 1536 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupEncode() 1543 td->td_photometric == PHOTOMETRIC_LOGL ? "Y, L" : "XYZ, Luv"); in LogLuvSetupEncode() 1560 (td->td_photometric == PHOTOMETRIC_LOGL) ? 1 : 3; in LogLuvClose()
|
D | tif_strip.c | 85 (td->td_photometric == PHOTOMETRIC_YCBCR)&& in TIFFVStripSize64() 281 if ((td->td_photometric==PHOTOMETRIC_YCBCR)&& in TIFFScanlineSize64()
|
D | tif_jpeg.c | 708 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags() 993 sp->photometric = td->td_photometric; in JPEGSetupDecode() 1601 sp->photometric = td->td_photometric; in JPEGSetupEncode() 1617 …if ((td->td_photometric == PHOTOMETRIC_MINISWHITE || td->td_photometric == PHOTOMETRIC_MINISBLACK)… in JPEGSetupEncode() 1619 else if (td->td_photometric == PHOTOMETRIC_RGB && td->td_samplesperpixel == 3) in JPEGSetupEncode() 1621 else if (td->td_photometric == PHOTOMETRIC_SEPARATED && td->td_samplesperpixel == 4) in JPEGSetupEncode() 2111 if (td->td_photometric == PHOTOMETRIC_YCBCR && in JPEGResetUpsampled()
|
D | tif_dir.h | 75 uint16 td_photometric; member
|
D | tif_tile.c | 209 (td->td_photometric==PHOTOMETRIC_YCBCR)&& in TIFFVTileSize64()
|
D | tif_aux.c | 139 if (td->td_photometric == PHOTOMETRIC_YCBCR) { in TIFFDefaultRefBlackWhite()
|
D | tif_dirread.c | 3844 else if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory() 3846 tif->tif_dir.td_photometric=PHOTOMETRIC_YCBCR; in TIFFReadDirectory() 3860 if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory() 3868 if (tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR) in TIFFReadDirectory() 3876 else if ((tif->tif_dir.td_photometric==PHOTOMETRIC_MINISWHITE) in TIFFReadDirectory() 3877 || (tif->tif_dir.td_photometric==PHOTOMETRIC_MINISBLACK)) in TIFFReadDirectory() 3891 if (tif->tif_dir.td_photometric == PHOTOMETRIC_PALETTE && in TIFFReadDirectory() 3894 tif->tif_dir.td_photometric = PHOTOMETRIC_RGB; in TIFFReadDirectory() 3896 tif->tif_dir.td_photometric = PHOTOMETRIC_MINISBLACK; in TIFFReadDirectory() 5510 if ((td->td_photometric == PHOTOMETRIC_YCBCR)&& in ChopUpSingleUncompressedStrip()
|
D | tif_dir.c | 235 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField() 868 *va_arg(ap, uint16*) = td->td_photometric; in _TIFFVGetField()
|
D | tif_ojpeg.c | 999 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect() 1000 (tif->tif_dir.td_photometric!=PHOTOMETRIC_ITULAB))) in OJPEGSubsamplingCorrect()
|
D | tif_dirwrite.c | 475 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PHOTOMETRIC,tif->tif_dir.td_photometric)) in TIFFWriteDirectorySec()
|