Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libtiff/
Dtif_print.c348 if (td->td_photometric < NPHOTONAMES) in TIFFPrintDirectory()
349 fprintf(fd, "%s\n", photoNames[td->td_photometric]); in TIFFPrintDirectory()
351 switch (td->td_photometric) { in TIFFPrintDirectory()
360 td->td_photometric, td->td_photometric); in TIFFPrintDirectory()
Dtif_luv.c1230 assert(td->td_photometric == PHOTOMETRIC_LOGL); in LogL16InitState()
1322 assert(td->td_photometric == PHOTOMETRIC_LOGLUV); in LogLuvInitState()
1377 switch (td->td_photometric) { in LogLuvSetupDecode()
1425 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupDecode()
1438 switch (td->td_photometric) { in LogLuvSetupEncode()
1489 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupEncode()
1496 td->td_photometric == PHOTOMETRIC_LOGL ? "Y, L" : "XYZ, Luv"); in LogLuvSetupEncode()
1513 (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.c692 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags()
973 sp->photometric = td->td_photometric; in JPEGSetupDecode()
1520 sp->photometric = td->td_photometric; in JPEGSetupEncode()
1696 …if ((td->td_photometric == PHOTOMETRIC_MINISWHITE || td->td_photometric == PHOTOMETRIC_MINISBLACK)… in JPEGPreEncode()
1698 else if (td->td_photometric == PHOTOMETRIC_RGB) in JPEGPreEncode()
1700 else if (td->td_photometric == PHOTOMETRIC_SEPARATED && td->td_samplesperpixel == 4) in JPEGPreEncode()
1992 if (td->td_photometric == PHOTOMETRIC_YCBCR && in JPEGResetUpsampled()
Dtif_dir.h75 uint16 td_photometric; member
Dtif_tile.c186 (td->td_photometric==PHOTOMETRIC_YCBCR)&& in TIFFVTileSize64()
Dtif_aux.c139 if (td->td_photometric == PHOTOMETRIC_YCBCR) { in TIFFDefaultRefBlackWhite()
Dtif_dirread.c3837 else if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory()
3839 tif->tif_dir.td_photometric=PHOTOMETRIC_YCBCR; in TIFFReadDirectory()
3853 if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory()
3861 if (tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR) in TIFFReadDirectory()
3869 else if ((tif->tif_dir.td_photometric==PHOTOMETRIC_MINISWHITE) in TIFFReadDirectory()
3870 || (tif->tif_dir.td_photometric==PHOTOMETRIC_MINISBLACK)) in TIFFReadDirectory()
3884 if (tif->tif_dir.td_photometric == PHOTOMETRIC_PALETTE && in TIFFReadDirectory()
3887 tif->tif_dir.td_photometric = PHOTOMETRIC_RGB; in TIFFReadDirectory()
3889 tif->tif_dir.td_photometric = PHOTOMETRIC_MINISBLACK; in TIFFReadDirectory()
5473 if ((td->td_photometric == PHOTOMETRIC_YCBCR)&& in ChopUpSingleUncompressedStrip()
Dtif_dir.c233 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
840 *va_arg(ap, uint16*) = td->td_photometric; in _TIFFVGetField()
Dtif_ojpeg.c985 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect()
986 (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()
/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.c1244 assert(td->td_photometric == PHOTOMETRIC_LOGL); in LogL16InitState()
1336 assert(td->td_photometric == PHOTOMETRIC_LOGLUV); in LogLuvInitState()
1391 switch (td->td_photometric) { in LogLuvSetupDecode()
1439 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupDecode()
1452 switch (td->td_photometric) { in LogLuvSetupEncode()
1503 td->td_photometric, "must be either LogLUV or LogL"); in LogLuvSetupEncode()
1510 td->td_photometric == PHOTOMETRIC_LOGL ? "Y, L" : "XYZ, Luv"); in LogLuvSetupEncode()
1527 (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.c3833 else if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory()
3835 tif->tif_dir.td_photometric=PHOTOMETRIC_YCBCR; in TIFFReadDirectory()
3849 if (tif->tif_dir.td_photometric==PHOTOMETRIC_RGB) in TIFFReadDirectory()
3857 if (tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR) in TIFFReadDirectory()
3865 else if ((tif->tif_dir.td_photometric==PHOTOMETRIC_MINISWHITE) in TIFFReadDirectory()
3866 || (tif->tif_dir.td_photometric==PHOTOMETRIC_MINISBLACK)) in TIFFReadDirectory()
3880 if (tif->tif_dir.td_photometric == PHOTOMETRIC_PALETTE && in TIFFReadDirectory()
3883 tif->tif_dir.td_photometric = PHOTOMETRIC_RGB; in TIFFReadDirectory()
3885 tif->tif_dir.td_photometric = PHOTOMETRIC_MINISBLACK; in TIFFReadDirectory()
5487 if ((td->td_photometric == PHOTOMETRIC_YCBCR)&& in ChopUpSingleUncompressedStrip()
Dtif_dir.c235 td->td_photometric = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
860 *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()