Lines Matching refs:tif_dir
709 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags()
710 (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG)&& in JPEGFixupTags()
711 (tif->tif_dir.td_samplesperpixel==3) && in JPEGFixupTags()
749 if( tif->tif_dir.td_stripbytecount == NULL in JPEGFixupTagsSubsampling()
750 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling()
751 || tif->tif_dir.td_stripbytecount[0] == 0 ) in JPEGFixupTagsSubsampling()
770 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
772 m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; in JPEGFixupTagsSubsampling()
851 if (n!=8+data->tif->tif_dir.td_samplesperpixel*3) in JPEGFixupTagsSubsamplingSec()
859 for (o=1; o<data->tif->tif_dir.td_samplesperpixel; o++) in JPEGFixupTagsSubsamplingSec()
878 …if ((ph!=data->tif->tif_dir.td_ycbcrsubsampling[0])||(pv!=data->tif->tif_dir.td_ycbcrsubsampling[1… in JPEGFixupTagsSubsamplingSec()
882 (int)data->tif->tif_dir.td_ycbcrsubsampling[0], in JPEGFixupTagsSubsamplingSec()
883 (int)data->tif->tif_dir.td_ycbcrsubsampling[1], in JPEGFixupTagsSubsamplingSec()
885 data->tif->tif_dir.td_ycbcrsubsampling[0]=ph; in JPEGFixupTagsSubsamplingSec()
886 data->tif->tif_dir.td_ycbcrsubsampling[1]=pv; in JPEGFixupTagsSubsamplingSec()
973 TIFFDirectory *td = &tif->tif_dir; in JPEGSetupDecode()
976 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupDecode()
1021 TIFFDirectory *td = &tif->tif_dir; in JPEGPreDecode()
1590 TIFFDirectory *td = &tif->tif_dir; in JPEGSetupEncode()
1594 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupEncode()
1764 TIFFDirectory *td = &tif->tif_dir; in JPEGPreEncode()
1915 if( !isTiled(tif) && tif->tif_row+nrows > tif->tif_dir.td_imagelength ) in JPEGEncode()
1916 nrows = tif->tif_dir.td_imagelength - tif->tif_row; in JPEGEncode()
2118 TIFFDirectory* td = &tif->tif_dir; in JPEGResetUpsampled()
2252 TIFFDirectory *td = &tif->tif_dir; in JPEGDefaultStripSize()
2264 TIFFDirectory *td = &tif->tif_dir; in JPEGDefaultTileSize()