Lines Matching refs:td
236 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory() local
253 if (td->td_subfiletype & FILETYPE_REDUCEDIMAGE) { in TIFFPrintDirectory()
257 if (td->td_subfiletype & FILETYPE_PAGE) { in TIFFPrintDirectory()
261 if (td->td_subfiletype & FILETYPE_MASK) in TIFFPrintDirectory()
264 (long) td->td_subfiletype, (long) td->td_subfiletype); in TIFFPrintDirectory()
268 (unsigned long) td->td_imagewidth, (unsigned long) td->td_imagelength); in TIFFPrintDirectory()
271 (unsigned long) td->td_imagedepth); in TIFFPrintDirectory()
276 (unsigned long) td->td_tilewidth, (unsigned long) td->td_tilelength); in TIFFPrintDirectory()
279 (unsigned long) td->td_tiledepth); in TIFFPrintDirectory()
284 td->td_xresolution, td->td_yresolution); in TIFFPrintDirectory()
286 switch (td->td_resolutionunit) { in TIFFPrintDirectory()
298 td->td_resolutionunit, in TIFFPrintDirectory()
299 td->td_resolutionunit); in TIFFPrintDirectory()
307 td->td_xposition, td->td_yposition); in TIFFPrintDirectory()
309 fprintf(fd, " Bits/Sample: %u\n", td->td_bitspersample); in TIFFPrintDirectory()
312 switch (td->td_sampleformat) { in TIFFPrintDirectory()
333 td->td_sampleformat, td->td_sampleformat); in TIFFPrintDirectory()
338 const TIFFCodec* c = TIFFFindCODEC(td->td_compression); in TIFFPrintDirectory()
344 td->td_compression, td->td_compression); in TIFFPrintDirectory()
348 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()
365 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()
369 switch (td->td_sampleinfo[i]) { in TIFFPrintDirectory()
381 td->td_sampleinfo[i], td->td_sampleinfo[i]); in TIFFPrintDirectory()
391 i = td->td_samplesperpixel; in TIFFPrintDirectory()
393 for (cp = td->td_inknames; in TIFFPrintDirectory()
394 i > 0 && cp < td->td_inknames + td->td_inknameslen; in TIFFPrintDirectory()
397 td->td_inknameslen - (cp - td->td_inknames); in TIFFPrintDirectory()
406 switch (td->td_threshholding) { in TIFFPrintDirectory()
418 td->td_threshholding, td->td_threshholding); in TIFFPrintDirectory()
424 switch (td->td_fillorder) { in TIFFPrintDirectory()
433 td->td_fillorder, td->td_fillorder); in TIFFPrintDirectory()
440 td->td_ycbcrsubsampling[0], td->td_ycbcrsubsampling[1] ); in TIFFPrintDirectory()
444 switch (td->td_ycbcrpositioning) { in TIFFPrintDirectory()
453 td->td_ycbcrpositioning, td->td_ycbcrpositioning); in TIFFPrintDirectory()
459 td->td_halftonehints[0], td->td_halftonehints[1]); in TIFFPrintDirectory()
462 if (td->td_orientation < NORIENTNAMES) in TIFFPrintDirectory()
463 fprintf(fd, "%s\n", orientNames[td->td_orientation]); in TIFFPrintDirectory()
466 td->td_orientation, td->td_orientation); in TIFFPrintDirectory()
469 fprintf(fd, " Samples/Pixel: %u\n", td->td_samplesperpixel); in TIFFPrintDirectory()
472 if (td->td_rowsperstrip == (uint32) -1) in TIFFPrintDirectory()
475 fprintf(fd, "%lu\n", (unsigned long) td->td_rowsperstrip); in TIFFPrintDirectory()
478 fprintf(fd, " Min Sample Value: %u\n", td->td_minsamplevalue); in TIFFPrintDirectory()
480 fprintf(fd, " Max Sample Value: %u\n", td->td_maxsamplevalue); in TIFFPrintDirectory()
482 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
485 fprintf(fd, " %g", td->td_sminsamplevalue[i]); in TIFFPrintDirectory()
489 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
492 fprintf(fd, " %g", td->td_smaxsamplevalue[i]); in TIFFPrintDirectory()
497 switch (td->td_planarconfig) { in TIFFPrintDirectory()
506 td->td_planarconfig, td->td_planarconfig); in TIFFPrintDirectory()
512 td->td_pagenumber[0], td->td_pagenumber[1]); in TIFFPrintDirectory()
517 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
521 td->td_colormap[0][l], in TIFFPrintDirectory()
522 td->td_colormap[1][l], in TIFFPrintDirectory()
523 td->td_colormap[2][l]); in TIFFPrintDirectory()
531 td->td_refblackwhite[2*i+0], in TIFFPrintDirectory()
532 td->td_refblackwhite[2*i+1]); in TIFFPrintDirectory()
538 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
541 l, td->td_transferfunction[0][l]); in TIFFPrintDirectory()
542 for (i = 1; i < td->td_samplesperpixel; i++) in TIFFPrintDirectory()
544 td->td_transferfunction[i][l]); in TIFFPrintDirectory()
550 if (TIFFFieldSet(tif, FIELD_SUBIFD) && (td->td_subifd)) { in TIFFPrintDirectory()
552 for (i = 0; i < td->td_nsubifd; i++) in TIFFPrintDirectory()
555 (unsigned __int64) td->td_subifd[i]); in TIFFPrintDirectory()
558 (unsigned long long) td->td_subifd[i]); in TIFFPrintDirectory()
601 value_count = td->td_samplesperpixel; in TIFFPrintDirectory()
656 (long) td->td_nstrips, in TIFFPrintDirectory()
658 for (s = 0; s < td->td_nstrips; s++) in TIFFPrintDirectory()
662 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory()
663 (unsigned __int64) td->td_stripbytecount[s]); in TIFFPrintDirectory()
667 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
668 (unsigned long long) td->td_stripbytecount[s]); in TIFFPrintDirectory()