Lines Matching refs:tif

38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample)  in TIFFComputeStrip()  argument
41 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeStrip()
47 TIFFErrorExt(tif->tif_clientdata, module, in TIFFComputeStrip()
61 TIFFNumberOfStrips(TIFF* tif) in TIFFNumberOfStrips() argument
63 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfStrips()
69 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, in TIFFNumberOfStrips()
78 TIFFVStripSize64(TIFF* tif, uint32 nrows) in TIFFVStripSize64() argument
81 TIFFDirectory *td = &tif->tif_dir; in TIFFVStripSize64()
86 (!isUpSampled(tif))) in TIFFVStripSize64()
104 TIFFErrorExt(tif->tif_clientdata,module, in TIFFVStripSize64()
108 TIFFGetFieldDefaulted(tif,TIFFTAG_YCBCRSUBSAMPLING,ycbcrsubsampling+0, in TIFFVStripSize64()
113 TIFFErrorExt(tif->tif_clientdata,module, in TIFFVStripSize64()
122 samplingrow_samples=_TIFFMultiply64(tif,samplingblocks_hor,samplingblock_samples,module); in TIFFVStripSize64()
123 …samplingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,modu… in TIFFVStripSize64()
124 return(_TIFFMultiply64(tif,samplingrow_size,samplingblocks_ver,module)); in TIFFVStripSize64()
127 return(_TIFFMultiply64(tif,nrows,TIFFScanlineSize64(tif),module)); in TIFFVStripSize64()
130 TIFFVStripSize(TIFF* tif, uint32 nrows) in TIFFVStripSize() argument
135 m=TIFFVStripSize64(tif,nrows); in TIFFVStripSize()
139 TIFFErrorExt(tif->tif_clientdata,module,"Integer overflow"); in TIFFVStripSize()
149 TIFFRawStripSize64(TIFF* tif, uint32 strip) in TIFFRawStripSize64() argument
152 TIFFDirectory* td = &tif->tif_dir; in TIFFRawStripSize64()
158 TIFFErrorExt(tif->tif_clientdata, module, in TIFFRawStripSize64()
163 TIFFErrorExt(tif->tif_clientdata, module, in TIFFRawStripSize64()
174 TIFFRawStripSize(TIFF* tif, uint32 strip) in TIFFRawStripSize() argument
179 m=TIFFRawStripSize64(tif,strip); in TIFFRawStripSize()
187 TIFFErrorExt(tif->tif_clientdata,module,"Integer overflow"); in TIFFRawStripSize()
203 TIFFStripSize64(TIFF* tif) in TIFFStripSize64() argument
205 TIFFDirectory* td = &tif->tif_dir; in TIFFStripSize64()
209 return (TIFFVStripSize64(tif, rps)); in TIFFStripSize64()
212 TIFFStripSize(TIFF* tif) in TIFFStripSize() argument
217 m=TIFFStripSize64(tif); in TIFFStripSize()
221 TIFFErrorExt(tif->tif_clientdata,module,"Integer overflow"); in TIFFStripSize()
234 TIFFDefaultStripSize(TIFF* tif, uint32 request) in TIFFDefaultStripSize() argument
236 return (*tif->tif_defstripsize)(tif, request); in TIFFDefaultStripSize()
240 _TIFFDefaultStripSize(TIFF* tif, uint32 s) in _TIFFDefaultStripSize() argument
250 scanlinesize=TIFFScanlineSize64(tif); in _TIFFDefaultStripSize()
274 TIFFScanlineSize64(TIFF* tif) in TIFFScanlineSize64() argument
277 TIFFDirectory *td = &tif->tif_dir; in TIFFScanlineSize64()
283 (!isUpSampled(tif))) in TIFFScanlineSize64()
292 TIFFErrorExt(tif->tif_clientdata,module, in TIFFScanlineSize64()
296 TIFFGetFieldDefaulted(tif,TIFFTAG_YCBCRSUBSAMPLING, in TIFFScanlineSize64()
302 TIFFErrorExt(tif->tif_clientdata,module, in TIFFScanlineSize64()
308 samplingrow_samples = _TIFFMultiply64(tif,samplingblocks_hor,samplingblock_samples,module); in TIFFScanlineSize64()
309 …samplingrow_size = TIFFhowmany_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,mod… in TIFFScanlineSize64()
315 scanline_samples=_TIFFMultiply64(tif,td->td_imagewidth,td->td_samplesperpixel,module); in TIFFScanlineSize64()
316 … scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,scanline_samples,td->td_bitspersample,module),8); in TIFFScanlineSize64()
321 …scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,td->td_imagewidth,td->td_bitspersample,module),8); in TIFFScanlineSize64()
325 TIFFErrorExt(tif->tif_clientdata,module,"Computed scanline size is zero"); in TIFFScanlineSize64()
331 TIFFScanlineSize(TIFF* tif) in TIFFScanlineSize() argument
336 m=TIFFScanlineSize64(tif); in TIFFScanlineSize()
339 TIFFErrorExt(tif->tif_clientdata,module,"Integer arithmetic overflow"); in TIFFScanlineSize()
352 TIFFRasterScanlineSize64(TIFF* tif) in TIFFRasterScanlineSize64() argument
355 TIFFDirectory *td = &tif->tif_dir; in TIFFRasterScanlineSize64()
358 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64()
360 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); in TIFFRasterScanlineSize64()
363 return (_TIFFMultiply64(tif, TIFFhowmany8_64(scanline), in TIFFRasterScanlineSize64()
367 TIFFRasterScanlineSize(TIFF* tif) in TIFFRasterScanlineSize() argument
372 m=TIFFRasterScanlineSize64(tif); in TIFFRasterScanlineSize()
376 TIFFErrorExt(tif->tif_clientdata,module,"Integer arithmetic overflow"); in TIFFRasterScanlineSize()