Lines Matching refs:tif_dir
555 tif->tif_dir.td_ycbcrsubsampling[0]=sp->subsampling_hor; in OJPEGVSetField()
556 tif->tif_dir.td_ycbcrsubsampling[1]=sp->subsampling_ver; in OJPEGVSetField()
706 sp->write_curstrile=s*tif->tif_dir.td_stripsperimage; in OJPEGPreDecode()
906 if (sp->write_curstrile%tif->tif_dir.td_stripsperimage==0) in OJPEGPostDecode()
1007 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect()
1008 (tif->tif_dir.td_photometric!=PHOTOMETRIC_ITULAB))) in OJPEGSubsamplingCorrect()
1058 sp->image_width=tif->tif_dir.td_imagewidth; in OJPEGReadHeaderInfo()
1059 sp->image_length=tif->tif_dir.td_imagelength; in OJPEGReadHeaderInfo()
1062 sp->strile_width=tif->tif_dir.td_tilewidth; in OJPEGReadHeaderInfo()
1063 sp->strile_length=tif->tif_dir.td_tilelength; in OJPEGReadHeaderInfo()
1069 sp->strile_length=tif->tif_dir.td_rowsperstrip; in OJPEGReadHeaderInfo()
1072 if (tif->tif_dir.td_samplesperpixel==1) in OJPEGReadHeaderInfo()
1082 if (tif->tif_dir.td_samplesperpixel!=3) in OJPEGReadHeaderInfo()
1089 if (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG) in OJPEGReadHeaderInfo()
1292 sp->in_buffer_strile_count=tif->tif_dir.td_nstrips; in OJPEGReadHeaderInfoSec()
2004 || sp->tif->tif_dir.td_stripoffset == NULL in OJPEGReadBufferFill()
2005 || sp->tif->tif_dir.td_stripbytecount == NULL) in OJPEGReadBufferFill()
2012 sp->in_buffer_file_pos=sp->tif->tif_dir.td_stripoffset[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
2017 else if (sp->tif->tif_dir.td_stripbytecount==NULL) in OJPEGReadBufferFill()
2021 if (sp->tif->tif_dir.td_stripbytecount == 0) { in OJPEGReadBufferFill()
2025 sp->in_buffer_file_togo=sp->tif->tif_dir.td_stripbytecount[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()