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.c146 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction()
272 *va_arg(ap, uint16 *) = td->td_extrasamples; in TIFFVGetFieldDefaulted()
277 (td->td_extrasamples == 1 && in TIFFVGetFieldDefaulted()
325 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFVGetFieldDefaulted()
Dtif_dir.c122 !(td->td_samplesperpixel - td->td_extrasamples > 1)) in setExtraSamples()
132 td->td_extrasamples = (uint16) *v; in setExtraSamples()
133 _TIFFsetShortArray(&td->td_sampleinfo, va, td->td_extrasamples); in setExtraSamples()
294 if( td->td_transferfunction[0] != NULL && (v - td->td_extrasamples > 1) && in _TIFFVSetField()
295 !(td->td_samplesperpixel - td->td_extrasamples > 1)) in _TIFFVSetField()
384 td->td_extrasamples = (((uint16) va_arg(ap, uint16_vap)) != 0); in _TIFFVSetField()
385 if (td->td_extrasamples) { in _TIFFVSetField()
469 v = (td->td_samplesperpixel - td->td_extrasamples) > 1 ? 3 : 1; in _TIFFVSetField()
1030 (td->td_extrasamples == 1 && in _TIFFVGetField()
1034 *va_arg(ap, uint16*) = td->td_extrasamples; in _TIFFVGetField()
[all …]
Dtif_print.c364 if (TIFFFieldSet(tif,FIELD_EXTRASAMPLES) && td->td_extrasamples) { in TIFFPrintDirectory()
366 fprintf(fd, " Extra Samples: %u<", td->td_extrasamples); in TIFFPrintDirectory()
368 for (i = 0; i < td->td_extrasamples; i++) { in TIFFPrintDirectory()
547 for (i = 1; i < td->td_samplesperpixel - td->td_extrasamples && i < 3; i++) in TIFFPrintDirectory()
Dtif_dir.h94 uint16 td_extrasamples; member
Dtif_dirread.c4117 …if (color_channels && tif->tif_dir.td_samplesperpixel - tif->tif_dir.td_extrasamples > color_chann… in TIFFReadDirectory()
4125 old_extrasamples = tif->tif_dir.td_extrasamples; in TIFFReadDirectory()
4126 … tif->tif_dir.td_extrasamples = (uint16) (tif->tif_dir.td_samplesperpixel - color_channels); in TIFFReadDirectory()
4129 … new_sampleinfo = (uint16*) _TIFFcalloc(tif->tif_dir.td_extrasamples, sizeof(uint16)); in TIFFReadDirectory()
4133 tif->tif_dir.td_extrasamples); in TIFFReadDirectory()
4138 … _TIFFsetShortArray(&tif->tif_dir.td_sampleinfo, new_sampleinfo, tif->tif_dir.td_extrasamples); in TIFFReadDirectory()
Dtif_dirwrite.c616 if (tif->tif_dir.td_extrasamples) in TIFFWriteDirectorySec()
2018 n=tif->tif_dir.td_samplesperpixel-tif->tif_dir.td_extrasamples; in TIFFWriteDirectoryTagTransferfunction()
Dtif_getimage.c101 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK()