Searched refs:td_stripoffset (Results 1 – 11 of 11) sorted by relevance
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_write.c | 542 td->td_stripoffset = (uint64 *) in TIFFSetupStrips() 546 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips() 552 _TIFFmemset(td->td_stripoffset, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips() 613 if (tif->tif_dir.td_stripoffset == NULL && !TIFFSetupStrips(tif)) { in TIFFWriteCheck() 687 new_stripoffset = (uint64*)_TIFFrealloc(td->td_stripoffset, in TIFFGrowStrips() 700 td->td_stripoffset = new_stripoffset; in TIFFGrowStrips() 702 _TIFFmemset(td->td_stripoffset + td->td_nstrips, in TIFFGrowStrips() 723 if (td->td_stripoffset[strip] == 0 || tif->tif_curoff == 0) { in TIFFAppendToStrip() 727 && td->td_stripoffset[strip] != 0 in TIFFAppendToStrip() 737 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFAppendToStrip() [all …]
|
| H A D | tif_read.c | 108 read_offset = td->td_stripoffset[strip] in TIFFFillStripPartial() 399 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFReadRawStrip1() 425 ma=(tmsize_t)td->td_stripoffset[strip]; in TIFFReadRawStrip1() 568 td->td_stripoffset[strip] > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip() 580 (unsigned __int64) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip() 588 (unsigned long long) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip() 595 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip() 729 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1() 759 ma=(tmsize_t)td->td_stripoffset[tile]; in TIFFReadRawTile1() 889 td->td_stripoffset[tile] > (uint64)tif->tif_size - bytecount) { in TIFFFillTile() [all …]
|
| H A D | tif_dirread.c | 3959 && tif->tif_dir.td_stripoffset[0] != 0 in TIFFReadDirectory() 4019 if (tif->tif_dir.td_stripoffset[strip - 1] > in TIFFReadDirectory() 4020 tif->tif_dir.td_stripoffset[strip]) { in TIFFReadDirectory() 4349 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts() 5512 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip() 5580 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip() 5582 td->td_stripoffset = newoffsets; in ChopUpSingleUncompressedStrip() 5597 if( td->td_stripoffset != NULL ) in _TIFFFillStrilesInternal() 5604 td->td_nstrips,&td->td_stripoffset)) in _TIFFFillStrilesInternal() 5624 if (tif->tif_dir.td_stripoffset[strip - 1] > in _TIFFFillStrilesInternal() [all …]
|
| H A D | tif_dir.h | 98 uint64* td_stripoffset; member
|
| H A D | tif_print.c | 670 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory() 675 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
|
| H A D | tif_dir.c | 969 *va_arg(ap, uint64**) = td->td_stripoffset; in _TIFFVGetField() 1230 CleanupField(td_stripoffset); in TIFFFreeDirectory()
|
| H A D | tif_dirwrite.c | 197 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory() 556 if (tif->tif_dir.td_stripoffset != NULL && in TIFFWriteDirectorySec() 557 …Long8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec() 562 …gLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
|
| H A D | tif_jpeg.c | 740 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling() 760 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
|
| H A D | tif_ojpeg.c | 1972 || sp->tif->tif_dir.td_stripoffset == NULL in OJPEGReadBufferFill() 1980 sp->in_buffer_file_pos=sp->tif->tif_dir.td_stripoffset[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_pdsdirread.c | 324 if (td->td_stripoffset[i] + td->td_stripbytecount[i] > filesize) in EstimateStripByteCounts() 326 filesize - td->td_stripoffset[i]; in EstimateStripByteCounts() 1064 uint32 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip() 1120 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip() 1122 td->td_stripoffset = newoffsets; in ChopUpSingleUncompressedStrip()
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 131 * libtiff/tif_dirwrite.c: avoid null pointer dereference on td_stripoffset 1203 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 3458 to new tstrile_t, types of td_stripoffset and td_stripbytecount to
|