Home
last modified time | relevance | path

Searched refs:td_imagelength (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_tile.c49 dy = td->td_imagelength; in TIFFComputeTile()
54 uint32 ypt = TIFFhowmany_32(td->td_imagelength, dy); in TIFFComputeTile()
84 if (y >= td->td_imagelength) { in TIFFCheckTile()
88 (unsigned long) (td->td_imagelength - 1)); in TIFFCheckTile()
124 dy = td->td_imagelength; in TIFFNumberOfTiles()
129 TIFFhowmany_32(td->td_imagelength, dy), in TIFFNumberOfTiles()
Dtif_strip.c65 TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip)); in TIFFNumberOfStrips()
81 nrows=td->td_imagelength; in TIFFVStripSize64()
197 if (rps > td->td_imagelength) in TIFFStripSize64()
198 rps = td->td_imagelength; in TIFFStripSize64()
Dtif_write.c70 if (row >= td->td_imagelength) { /* extend image */ in TIFFWriteScanline()
76 td->td_imagelength = row+1; in TIFFWriteScanline()
115 TIFFhowmany_32(td->td_imagelength,td->td_rowsperstrip); in TIFFWriteScanline()
238 TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip); in TIFFWriteEncodedStrip()
345 TIFFhowmany_32(td->td_imagelength,td->td_rowsperstrip); in TIFFWriteRawStrip()
428 howmany32=TIFFhowmany_32(td->td_imagelength, td->td_tilelength); in TIFFWriteEncodedTile()
520 (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0)
Dtif_read.c339 if (row >= td->td_imagelength) { /* out of range */ in TIFFSeek()
343 (unsigned long) td->td_imagelength); in TIFFSeek()
508 if (rowsperstrip>td->td_imagelength) in TIFFReadEncodedStripGetStripSize()
509 rowsperstrip=td->td_imagelength; in TIFFReadEncodedStripGetStripSize()
510 stripsperplane= TIFFhowmany_32_maxuint_compat(td->td_imagelength, rowsperstrip); in TIFFReadEncodedStripGetStripSize()
513 rows=td->td_imagelength-stripinplane*rowsperstrip; in TIFFReadEncodedStripGetStripSize()
1477 howmany32=TIFFhowmany_32(td->td_imagelength, td->td_tilelength); in TIFFStartTile()
1574 if (rowsperstrip>td->td_imagelength) in TIFFReadFromUserBuffer()
1575 rowsperstrip=td->td_imagelength; in TIFFReadFromUserBuffer()
1576 stripsperplane= TIFFhowmany_32_maxuint_compat(td->td_imagelength, rowsperstrip); in TIFFReadFromUserBuffer()
Dtif_jpeg.c1138 segment_height = td->td_imagelength - tif->tif_row; in JPEGPreDecode()
1162 tif->tif_row + segment_height == td->td_imagelength && in JPEGPreDecode()
1517 if( (uint32)nrows > td->td_imagelength - tif->tif_row && !isTiled(tif) ) in JPEGDecodeRaw()
1518 nrows = td->td_imagelength - tif->tif_row; in JPEGDecodeRaw()
1865 if (td->td_rowsperstrip < td->td_imagelength && in JPEGSetupEncode()
1927 segment_height = td->td_imagelength - tif->tif_row; in JPEGPreEncode()
2056 if( !isTiled(tif) && tif->tif_row+nrows > tif->tif_dir.td_imagelength ) in JPEGEncode()
2057 nrows = tif->tif_dir.td_imagelength - tif->tif_row; in JPEGEncode()
2396 if (s < td->td_imagelength) in JPEGDefaultStripSize()
Dtif_dir.h72 uint32 td_imagewidth, td_imagelength, td_imagedepth; member
Dtif_luv.c1316 else if( td->td_rowsperstrip < td->td_imagelength ) in LogL16InitState()
1319 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_imagelength); in LogL16InitState()
1418 else if( td->td_rowsperstrip < td->td_imagelength ) in LogLuvInitState()
1421 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_imagelength); in LogLuvInitState()
Dtif_dirread.c3558 if( tif->tif_dir.td_imagelength > 0 && in ByteCountLooksBad()
3559 scanlinesize > TIFF_UINT64_MAX / tif->tif_dir.td_imagelength ) in ByteCountLooksBad()
3563 if( bytecount < scanlinesize * tif->tif_dir.td_imagelength) in ByteCountLooksBad()
4609 uint32 rowsperstrip = td->td_imagelength/td->td_stripsperimage; in EstimateStripByteCounts()
4619 td->td_rowsperstrip = td->td_imagelength; in EstimateStripByteCounts()
5882 nstrips = TIFFhowmany_32(td->td_imagelength, rowsperstrip); in ChopUpSingleUncompressedStrip()
5949 tif, td->td_imagelength - i * td->td_rowsperstrip ) ) in TryChopUpUncompressedBigTiff()
5976 nstrips = TIFFhowmany_32(td->td_imagelength, rowsperstrip); in TryChopUpUncompressedBigTiff()
Dtif_print.c267 (unsigned long) td->td_imagewidth, (unsigned long) td->td_imagelength); in TIFFPrintDirectory()
Dtif_dir.c201 td->td_imagelength = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
927 *va_arg(ap, uint32*) = td->td_imagelength; in _TIFFVGetField()
Dtif_pixarlog.c681 if( strip_height > td->td_imagelength ) in PixarLogSetupDecode()
682 strip_height = td->td_imagelength; in PixarLogSetupDecode()
Dtif_ojpeg.c1095 sp->image_length=tif->tif_dir.td_imagelength; in OJPEGReadHeaderInfo()
Dtif_dirwrite.c477 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()