Searched refs:td_extrasamples (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_aux.c | 146 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()
|
D | tif_dir.c | 122 !(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 …]
|
D | tif_print.c | 364 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()
|
D | tif_dir.h | 94 uint16 td_extrasamples; member
|
D | tif_dirread.c | 4117 …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()
|
D | tif_dirwrite.c | 616 if (tif->tif_dir.td_extrasamples) in TIFFWriteDirectorySec() 2018 n=tif->tif_dir.td_samplesperpixel-tif->tif_dir.td_extrasamples; in TIFFWriteDirectoryTagTransferfunction()
|
D | tif_getimage.c | 101 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK()
|