Home
last modified time | relevance | path

Searched refs:td_extrasamples (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_aux.c149 if (td->td_samplesperpixel - td->td_extrasamples > 1) in TIFFDefaultTransferFunction()
304 *va_arg(ap, uint16_t *) = td->td_extrasamples; in TIFFVGetFieldDefaulted()
309 (td->td_extrasamples == 1 && in TIFFVGetFieldDefaulted()
358 if (td->td_samplesperpixel - td->td_extrasamples > 1) in TIFFVGetFieldDefaulted()
Dtif_dir.c170 !(td->td_samplesperpixel - td->td_extrasamples > 1)) in setExtraSamples()
181 td->td_extrasamples = (uint16_t)*v; in setExtraSamples()
182 _TIFFsetShortArrayExt(tif, &td->td_sampleinfo, va, td->td_extrasamples); in setExtraSamples()
352 (v - td->td_extrasamples > 1) && in _TIFFVSetField()
353 !(td->td_samplesperpixel - td->td_extrasamples > 1)) in _TIFFVSetField()
455 td->td_extrasamples = (((uint16_t)va_arg(ap, uint16_vap)) != 0); in _TIFFVSetField()
456 if (td->td_extrasamples) in _TIFFVSetField()
560 v = (td->td_samplesperpixel - td->td_extrasamples) > 1 ? 3 : 1; in _TIFFVSetField()
1348 (td->td_extrasamples == 1 && in _TIFFVGetField()
1352 *va_arg(ap, uint16_t *) = td->td_extrasamples; in _TIFFVGetField()
[all …]
Dtif_print.c377 if (TIFFFieldSet(tif, FIELD_EXTRASAMPLES) && td->td_extrasamples) in TIFFPrintDirectory()
380 fprintf(fd, " Extra Samples: %" PRIu16 "<", td->td_extrasamples); in TIFFPrintDirectory()
382 for (i = 0; i < td->td_extrasamples; i++) in TIFFPrintDirectory()
588 i < td->td_samplesperpixel - td->td_extrasamples && i < 3; in TIFFPrintDirectory()
Dtif_dir.h99 uint16_t td_extrasamples; member
Dtif_dirread.c4706 tif->tif_dir.td_samplesperpixel - tif->tif_dir.td_extrasamples > in TIFFReadDirectory()
4718 old_extrasamples = tif->tif_dir.td_extrasamples; in TIFFReadDirectory()
4719 tif->tif_dir.td_extrasamples = in TIFFReadDirectory()
4725 tif, tif->tif_dir.td_extrasamples, sizeof(uint16_t)); in TIFFReadDirectory()
4732 tif->tif_dir.td_extrasamples); in TIFFReadDirectory()
4740 tif->tif_dir.td_extrasamples); in TIFFReadDirectory()
Dtif_dirwrite.c742 if (tif->tif_dir.td_extrasamples) in TIFFWriteDirectorySec()
2067 n = tif->tif_dir.td_samplesperpixel - tif->tif_dir.td_extrasamples; in TIFFWriteDirectoryTagTransferfunction()
Dtif_getimage.c117 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK()