Home
last modified time | relevance | path

Searched refs:td_stripbytecount (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_write.c133 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteScanline()
136 td->td_stripbytecount[strip] = 0; in TIFFWriteScanline()
239 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteEncodedStrip()
245 if( tif->tif_rawdatasize <= (tmsize_t)td->td_stripbytecount[strip] ) in TIFFWriteEncodedStrip()
248 (tmsize_t)TIFFroundup_64((uint64)(td->td_stripbytecount[strip] + 1), 1024))) ) in TIFFWriteEncodedStrip()
390 if( td->td_stripbytecount[tile] > 0 ) in TIFFWriteEncodedTile()
396 if( tif->tif_rawdatasize <= (tmsize_t) td->td_stripbytecount[tile] ) in TIFFWriteEncodedTile()
399 (tmsize_t)TIFFroundup_64((uint64)(td->td_stripbytecount[tile] + 1), 1024))) ) in TIFFWriteEncodedTile()
510 td->td_stripbytecount = (uint64 *) in TIFFSetupStrips()
512 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
[all …]
Dtif_read.c55 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStripPartial()
117 if( (uint64) to_read > td->td_stripbytecount[strip] in TIFFFillStripPartial()
120 to_read = (tmsize_t) td->td_stripbytecount[strip] in TIFFFillStripPartial()
207 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFSeek()
209 whole_strip = tif->tif_dir.td_stripbytecount[strip] < 10 in TIFFSeek()
244 … && (uint64) tif->tif_rawdataoff+tif->tif_rawdataloaded < td->td_stripbytecount[strip] ) in TIFFSeek()
460 bytecount = td->td_stripbytecount[strip]; in TIFFReadRawStrip()
495 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStrip()
500 uint64 bytecount = td->td_stripbytecount[strip]; in TIFFFillStrip()
776 bytecount64 = td->td_stripbytecount[tile]; in TIFFReadRawTile()
[all …]
Dtif_dirread.c3732 if (!TIFFFetchStripThing(tif,dp,tif->tif_dir.td_nstrips,&tif->tif_dir.td_stripbytecount)) in TIFFReadDirectory()
3944 ( (tif->tif_dir.td_stripbytecount[0] == 0 && tif->tif_dir.td_stripoffset[0] != 0) || \ in TIFFReadDirectory()
3946 … tif->tif_dir.td_stripbytecount[0] > TIFFGetFileSize(tif) - tif->tif_dir.td_stripoffset[0]) || \ in TIFFReadDirectory()
3949 … tif->tif_dir.td_stripbytecount[0] < TIFFScanlineSize64(tif) * tif->tif_dir.td_imagelength) ) in TIFFReadDirectory()
3970 && tif->tif_dir.td_stripbytecount[0] != tif->tif_dir.td_stripbytecount[1] in TIFFReadDirectory()
3971 && tif->tif_dir.td_stripbytecount[0] != 0 in TIFFReadDirectory()
3972 && tif->tif_dir.td_stripbytecount[1] != 0 ) { in TIFFReadDirectory()
4041 if ( !_TIFFFillStriles(tif) || !tif->tif_dir.td_stripbytecount ) in TIFFReadDirectory()
4286 if (td->td_stripbytecount) in EstimateStripByteCounts()
4287 _TIFFfree(td->td_stripbytecount); in EstimateStripByteCounts()
[all …]
Dtif_dir.h99 uint64* td_stripbytecount; member
Dtif_print.c665 (unsigned __int64) td->td_stripbytecount[s]); in TIFFPrintDirectory()
670 (unsigned long long) td->td_stripbytecount[s]); in TIFFPrintDirectory()
Dtif_strip.c153 uint64 bytecount = td->td_stripbytecount[strip]; in TIFFRawStripSize64()
Dtif_ojpeg.c1996 || sp->tif->tif_dir.td_stripbytecount == NULL) in OJPEGReadBufferFill()
2008 else if (sp->tif->tif_dir.td_stripbytecount==NULL) in OJPEGReadBufferFill()
2012 if (sp->tif->tif_dir.td_stripbytecount == 0) { in OJPEGReadBufferFill()
2016 sp->in_buffer_file_togo=sp->tif->tif_dir.td_stripbytecount[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
Dtif_jpeg.c747 if( tif->tif_dir.td_stripbytecount == NULL in JPEGFixupTagsSubsampling()
749 || tif->tif_dir.td_stripbytecount[0] == 0 ) in JPEGFixupTagsSubsampling()
770 m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; in JPEGFixupTagsSubsampling()
Dtif_dir.c958 *va_arg(ap, uint64**) = td->td_stripbytecount; in _TIFFVGetField()
1215 CleanupField(td_stripbytecount); in TIFFFreeDirectory()
Dtif_dirwrite.c532 …rray(tif,&ndir,dir,TIFFTAG_STRIPBYTECOUNTS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripbytecount)) in TIFFWriteDirectorySec()
537 …Array(tif,&ndir,dir,TIFFTAG_TILEBYTECOUNTS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripbytecount)) in TIFFWriteDirectorySec()