Home
last modified time | relevance | path

Searched refs:td_photometric (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_print.c350 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()
Dtif_luv.c1277 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()
Dtif_strip.c85 (td->td_photometric == PHOTOMETRIC_YCBCR)&& in TIFFVStripSize64()
281 if ((td->td_photometric==PHOTOMETRIC_YCBCR)&& in TIFFScanlineSize64()
Dtif_jpeg.c708 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()
Dtif_dir.h75 uint16 td_photometric; member
Dtif_tile.c209 (td->td_photometric==PHOTOMETRIC_YCBCR)&& in TIFFVTileSize64()
Dtif_aux.c139 if (td->td_photometric == PHOTOMETRIC_YCBCR) { in TIFFDefaultRefBlackWhite()
Dtif_dirread.c3844 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()
Dtif_dir.c235 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
868 *va_arg(ap, uint16*) = td->td_photometric; in _TIFFVGetField()
Dtif_ojpeg.c999 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()
Dtif_dirwrite.c475 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PHOTOMETRIC,tif->tif_dir.td_photometric)) in TIFFWriteDirectorySec()