Home
last modified time | relevance | path

Searched refs:td_stripoffset (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_write.c508 td->td_stripoffset = (uint64 *) in TIFFSetupStrips()
512 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
518 _TIFFmemset(td->td_stripoffset, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips()
579 if (tif->tif_dir.td_stripoffset == NULL && !TIFFSetupStrips(tif)) { in TIFFWriteCheck()
653 new_stripoffset = (uint64*)_TIFFrealloc(td->td_stripoffset, in TIFFGrowStrips()
666 td->td_stripoffset = new_stripoffset; in TIFFGrowStrips()
668 _TIFFmemset(td->td_stripoffset + td->td_nstrips, in TIFFGrowStrips()
689 if (td->td_stripoffset[strip] == 0 || tif->tif_curoff == 0) { in TIFFAppendToStrip()
693 && td->td_stripoffset[strip] != 0 in TIFFAppendToStrip()
703 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFAppendToStrip()
[all …]
Dtif_read.c103 read_offset = td->td_stripoffset[strip] in TIFFFillStripPartial()
376 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFReadRawStrip1()
402 ma=(tmsize_t)td->td_stripoffset[strip]; in TIFFReadRawStrip1()
404 if (((uint64)ma!=td->td_stripoffset[strip])||(ma>tif->tif_size)) in TIFFReadRawStrip1()
545 td->td_stripoffset[strip] > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip()
557 (unsigned __int64) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
565 (unsigned long long) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
572 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip()
688 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1()
718 ma=(tmsize_t)td->td_stripoffset[tile]; in TIFFReadRawTile1()
[all …]
Dtif_dir.h98 uint64* td_stripoffset; member
Dtif_dirread.c3722 if (!TIFFFetchStripThing(tif,dp,tif->tif_dir.td_nstrips,&tif->tif_dir.td_stripoffset)) 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()
3942 && tif->tif_dir.td_stripoffset[0] != 0 in TIFFReadDirectory()
4002 if (tif->tif_dir.td_stripoffset[strip - 1] > in TIFFReadDirectory()
4003 tif->tif_dir.td_stripoffset[strip]) { in TIFFReadDirectory()
4330 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize) in EstimateStripByteCounts()
4331 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts()
5485 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip()
5553 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip()
[all …]
Dtif_print.c664 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory()
669 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
Dtif_dir.c945 *va_arg(ap, uint64**) = td->td_stripoffset; in _TIFFVGetField()
1206 CleanupField(td_stripoffset); in TIFFFreeDirectory()
Dtif_jpeg.c748 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling()
768 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
Dtif_dirwrite.c197 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory()
545 …Long8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
550 …gLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
Dtif_ojpeg.c1980 || sp->tif->tif_dir.td_stripoffset == NULL in OJPEGReadBufferFill()
1988 sp->in_buffer_file_pos=sp->tif->tif_dir.td_stripoffset[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
/external/opencv3/3rdparty/libtiff/
Dtif_write.c464 td->td_stripoffset = (uint64 *) in TIFFSetupStrips()
468 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
474 _TIFFmemset(td->td_stripoffset, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips()
535 if (tif->tif_dir.td_stripoffset == NULL && !TIFFSetupStrips(tif)) { in TIFFWriteCheck()
609 new_stripoffset = (uint64*)_TIFFrealloc(td->td_stripoffset, in TIFFGrowStrips()
622 td->td_stripoffset = new_stripoffset; in TIFFGrowStrips()
624 _TIFFmemset(td->td_stripoffset + td->td_nstrips, in TIFFGrowStrips()
645 if (td->td_stripoffset[strip] == 0 || tif->tif_curoff == 0) { in TIFFAppendToStrip()
649 && td->td_stripoffset[strip] != 0 in TIFFAppendToStrip()
659 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFAppendToStrip()
[all …]
Dtif_read.c103 read_offset = td->td_stripoffset[strip] in TIFFFillStripPartial()
376 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFReadRawStrip1()
402 ma=(tmsize_t)td->td_stripoffset[strip]; in TIFFReadRawStrip1()
404 if (((uint64)ma!=td->td_stripoffset[strip])||(ma>tif->tif_size)) in TIFFReadRawStrip1()
545 td->td_stripoffset[strip] > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip()
557 (unsigned __int64) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
565 (unsigned long long) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
572 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip()
688 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1()
718 ma=(tmsize_t)td->td_stripoffset[tile]; in TIFFReadRawTile1()
[all …]
Dtif_dir.h98 uint64* td_stripoffset; member
Dtif_dirread.c3739 … if (!TIFFFetchStripThing(tif,dp,tif->tif_dir.td_nstrips,&tif->tif_dir.td_stripoffset)) 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()
3946 && tif->tif_dir.td_stripoffset[0] != 0 in TIFFReadDirectory()
4006 if (tif->tif_dir.td_stripoffset[strip - 1] > in TIFFReadDirectory()
4007 tif->tif_dir.td_stripoffset[strip]) { in TIFFReadDirectory()
4333 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize) in EstimateStripByteCounts()
4334 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts()
5471 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip()
5539 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip()
[all …]
Dtif_print.c662 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory()
667 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
Dtif_dir.c925 *va_arg(ap, uint64**) = td->td_stripoffset; in _TIFFVGetField()
1186 CleanupField(td_stripoffset); in TIFFFreeDirectory()
Dtif_dirwrite.c197 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory()
545 …Long8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
550 …gLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
Dtif_ojpeg.c1960 || sp->tif->tif_dir.td_stripoffset == NULL in OJPEGReadBufferFill()
1968 … sp->in_buffer_file_pos=sp->tif->tif_dir.td_stripoffset[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()
Dtif_jpeg.c751 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
DChangeLog2008 to new tstrile_t, types of td_stripoffset and td_stripbytecount to