Lines Matching refs:td
238 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory() local
255 if (td->td_subfiletype & FILETYPE_REDUCEDIMAGE) { in TIFFPrintDirectory()
259 if (td->td_subfiletype & FILETYPE_PAGE) { in TIFFPrintDirectory()
263 if (td->td_subfiletype & FILETYPE_MASK) in TIFFPrintDirectory()
266 (long) td->td_subfiletype, (long) td->td_subfiletype); in TIFFPrintDirectory()
270 (unsigned long) td->td_imagewidth, (unsigned long) td->td_imagelength); in TIFFPrintDirectory()
273 (unsigned long) td->td_imagedepth); in TIFFPrintDirectory()
278 (unsigned long) td->td_tilewidth, (unsigned long) td->td_tilelength); in TIFFPrintDirectory()
281 (unsigned long) td->td_tiledepth); in TIFFPrintDirectory()
286 td->td_xresolution, td->td_yresolution); in TIFFPrintDirectory()
288 switch (td->td_resolutionunit) { in TIFFPrintDirectory()
300 td->td_resolutionunit, in TIFFPrintDirectory()
301 td->td_resolutionunit); in TIFFPrintDirectory()
309 td->td_xposition, td->td_yposition); in TIFFPrintDirectory()
311 fprintf(fd, " Bits/Sample: %u\n", td->td_bitspersample); in TIFFPrintDirectory()
314 switch (td->td_sampleformat) { in TIFFPrintDirectory()
335 td->td_sampleformat, td->td_sampleformat); in TIFFPrintDirectory()
340 const TIFFCodec* c = TIFFFindCODEC(td->td_compression); in TIFFPrintDirectory()
346 td->td_compression, td->td_compression); in TIFFPrintDirectory()
350 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()
367 if (TIFFFieldSet(tif,FIELD_EXTRASAMPLES) && td->td_extrasamples) { in TIFFPrintDirectory()
368 fprintf(fd, " Extra Samples: %u<", td->td_extrasamples); in TIFFPrintDirectory()
370 for (i = 0; i < td->td_extrasamples; i++) { in TIFFPrintDirectory()
371 switch (td->td_sampleinfo[i]) { in TIFFPrintDirectory()
383 td->td_sampleinfo[i], td->td_sampleinfo[i]); in TIFFPrintDirectory()
393 i = td->td_samplesperpixel; in TIFFPrintDirectory()
395 for (cp = td->td_inknames; in TIFFPrintDirectory()
396 i > 0 && cp < td->td_inknames + td->td_inknameslen; in TIFFPrintDirectory()
399 td->td_inknameslen - (cp - td->td_inknames); in TIFFPrintDirectory()
408 switch (td->td_threshholding) { in TIFFPrintDirectory()
420 td->td_threshholding, td->td_threshholding); in TIFFPrintDirectory()
426 switch (td->td_fillorder) { in TIFFPrintDirectory()
435 td->td_fillorder, td->td_fillorder); in TIFFPrintDirectory()
442 td->td_ycbcrsubsampling[0], td->td_ycbcrsubsampling[1] ); in TIFFPrintDirectory()
446 switch (td->td_ycbcrpositioning) { in TIFFPrintDirectory()
455 td->td_ycbcrpositioning, td->td_ycbcrpositioning); in TIFFPrintDirectory()
461 td->td_halftonehints[0], td->td_halftonehints[1]); in TIFFPrintDirectory()
464 if (td->td_orientation < NORIENTNAMES) in TIFFPrintDirectory()
465 fprintf(fd, "%s\n", orientNames[td->td_orientation]); in TIFFPrintDirectory()
468 td->td_orientation, td->td_orientation); in TIFFPrintDirectory()
471 fprintf(fd, " Samples/Pixel: %u\n", td->td_samplesperpixel); in TIFFPrintDirectory()
474 if (td->td_rowsperstrip == (uint32) -1) in TIFFPrintDirectory()
477 fprintf(fd, "%lu\n", (unsigned long) td->td_rowsperstrip); in TIFFPrintDirectory()
480 fprintf(fd, " Min Sample Value: %u\n", td->td_minsamplevalue); in TIFFPrintDirectory()
482 fprintf(fd, " Max Sample Value: %u\n", td->td_maxsamplevalue); in TIFFPrintDirectory()
484 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
487 fprintf(fd, " %g", td->td_sminsamplevalue[i]); in TIFFPrintDirectory()
491 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
494 fprintf(fd, " %g", td->td_smaxsamplevalue[i]); in TIFFPrintDirectory()
499 switch (td->td_planarconfig) { in TIFFPrintDirectory()
508 td->td_planarconfig, td->td_planarconfig); in TIFFPrintDirectory()
514 td->td_pagenumber[0], td->td_pagenumber[1]); in TIFFPrintDirectory()
519 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
523 td->td_colormap[0][l], in TIFFPrintDirectory()
524 td->td_colormap[1][l], in TIFFPrintDirectory()
525 td->td_colormap[2][l]); in TIFFPrintDirectory()
533 td->td_refblackwhite[2*i+0], in TIFFPrintDirectory()
534 td->td_refblackwhite[2*i+1]); in TIFFPrintDirectory()
540 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
543 l, td->td_transferfunction[0][l]); in TIFFPrintDirectory()
544 for (i = 1; i < td->td_samplesperpixel; i++) in TIFFPrintDirectory()
546 td->td_transferfunction[i][l]); in TIFFPrintDirectory()
552 if (TIFFFieldSet(tif, FIELD_SUBIFD) && (td->td_subifd)) { in TIFFPrintDirectory()
554 for (i = 0; i < td->td_nsubifd; i++) in TIFFPrintDirectory()
557 (unsigned __int64) td->td_subifd[i]); in TIFFPrintDirectory()
560 (unsigned long long) td->td_subifd[i]); in TIFFPrintDirectory()
603 value_count = td->td_samplesperpixel; in TIFFPrintDirectory()
658 (long) td->td_nstrips, in TIFFPrintDirectory()
660 for (s = 0; s < td->td_nstrips; s++) in TIFFPrintDirectory()
664 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory()
665 (unsigned __int64) td->td_stripbytecount[s]); in TIFFPrintDirectory()
669 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
670 (unsigned long long) td->td_stripbytecount[s]); in TIFFPrintDirectory()