Home
last modified time | relevance | path

Searched refs:td_stripbytecount (Results 1 – 21 of 21) 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()
3933 ( (tif->tif_dir.td_stripbytecount[0] == 0 && tif->tif_dir.td_stripoffset[0] != 0) || \ in TIFFReadDirectory()
3935 … tif->tif_dir.td_stripbytecount[0] > TIFFGetFileSize(tif) - tif->tif_dir.td_stripoffset[0]) || \ in TIFFReadDirectory()
3938 … tif->tif_dir.td_stripbytecount[0] < TIFFScanlineSize64(tif) * tif->tif_dir.td_imagelength) ) in TIFFReadDirectory()
3959 && tif->tif_dir.td_stripbytecount[0] != tif->tif_dir.td_stripbytecount[1] in TIFFReadDirectory()
3960 && tif->tif_dir.td_stripbytecount[0] != 0 in TIFFReadDirectory()
3961 && tif->tif_dir.td_stripbytecount[1] != 0 ) { in TIFFReadDirectory()
4030 if ( !_TIFFFillStriles(tif) || !tif->tif_dir.td_stripbytecount ) in TIFFReadDirectory()
4275 if (td->td_stripbytecount) in EstimateStripByteCounts()
4276 _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.c1981 || sp->tif->tif_dir.td_stripbytecount == NULL) in OJPEGReadBufferFill()
1993 else if (sp->tif->tif_dir.td_stripbytecount==NULL) in OJPEGReadBufferFill()
1997 if (sp->tif->tif_dir.td_stripbytecount == 0) { in OJPEGReadBufferFill()
2001 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.c950 *va_arg(ap, uint64**) = td->td_stripbytecount; in _TIFFVGetField()
1207 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()
/external/opencv3/3rdparty/libtiff/
Dtif_write.c129 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteScanline()
132 td->td_stripbytecount[strip] = 0; in TIFFWriteScanline()
233 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteEncodedStrip()
368 if( td->td_stripbytecount[tile] > 0 ) in TIFFWriteEncodedTile()
466 td->td_stripbytecount = (uint64 *) in TIFFSetupStrips()
468 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
475 _TIFFmemset(td->td_stripbytecount, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips()
611 new_stripbytecount = (uint64*)_TIFFrealloc(td->td_stripbytecount, in TIFFGrowStrips()
623 td->td_stripbytecount = new_stripbytecount; in TIFFGrowStrips()
626 _TIFFmemset(td->td_stripbytecount + td->td_nstrips, in TIFFGrowStrips()
[all …]
Dtif_read.c55 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStripPartial()
64 bytecountm=(tmsize_t) td->td_stripbytecount[strip]; in TIFFFillStripPartial()
117 if( (uint64) to_read > td->td_stripbytecount[strip] in TIFFFillStripPartial()
120 to_read = 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()
[all …]
Dtif_dirread.c3749 … if (!TIFFFetchStripThing(tif,dp,tif->tif_dir.td_nstrips,&tif->tif_dir.td_stripbytecount)) in TIFFReadDirectory()
3937 ( (tif->tif_dir.td_stripbytecount[0] == 0 && tif->tif_dir.td_stripoffset[0] != 0) || \ in TIFFReadDirectory()
3939 … tif->tif_dir.td_stripbytecount[0] > TIFFGetFileSize(tif) - tif->tif_dir.td_stripoffset[0]) || \ in TIFFReadDirectory()
3942 … tif->tif_dir.td_stripbytecount[0] < TIFFScanlineSize64(tif) * tif->tif_dir.td_imagelength) ) in TIFFReadDirectory()
3963 && tif->tif_dir.td_stripbytecount[0] != tif->tif_dir.td_stripbytecount[1] in TIFFReadDirectory()
3964 && tif->tif_dir.td_stripbytecount[0] != 0 in TIFFReadDirectory()
3965 && tif->tif_dir.td_stripbytecount[1] != 0 ) { in TIFFReadDirectory()
4034 if ( !_TIFFFillStriles(tif) || !tif->tif_dir.td_stripbytecount ) in TIFFReadDirectory()
4278 if (td->td_stripbytecount) in EstimateStripByteCounts()
4279 _TIFFfree(td->td_stripbytecount); in EstimateStripByteCounts()
[all …]
Dtif_dir.h99 uint64* td_stripbytecount; member
Dtif_print.c663 (unsigned __int64) td->td_stripbytecount[s]); in TIFFPrintDirectory()
668 (unsigned long long) td->td_stripbytecount[s]); in TIFFPrintDirectory()
Dtif_strip.c153 uint64 bytecount = td->td_stripbytecount[strip]; in TIFFRawStripSize64()
Dtif_ojpeg.c1961 || sp->tif->tif_dir.td_stripbytecount == NULL) in OJPEGReadBufferFill()
1973 else if (sp->tif->tif_dir.td_stripbytecount==NULL) in OJPEGReadBufferFill()
1977 if (sp->tif->tif_dir.td_stripbytecount == 0) { in OJPEGReadBufferFill()
1981 … sp->in_buffer_file_togo=sp->tif->tif_dir.td_stripbytecount[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
Dtif_jpeg.c731 if( tif->tif_dir.td_stripbytecount == NULL in JPEGFixupTagsSubsampling()
732 || tif->tif_dir.td_stripbytecount[0] == 0 ) in JPEGFixupTagsSubsampling()
753 m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; in JPEGFixupTagsSubsampling()
Dtif_dir.c930 *va_arg(ap, uint64**) = td->td_stripbytecount; in _TIFFVGetField()
1187 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()
DChangeLog2008 to new tstrile_t, types of td_stripoffset and td_stripbytecount to