| /libtiff-4.0.7/test/ |
| H A D | strip.c | 41 tsize_t stripsize, offset; in write_strips() local 50 for (offset = 0, strip = 0; in write_strips() 51 offset < size && strip < nstrips; in write_strips() 52 offset+=stripsize, strip++) { in write_strips() 56 tsize_t bufsize = size - offset; in write_strips() 75 tsize_t stripsize, offset; in read_strips() local 91 for (offset = 0, strip = 0; in read_strips() 93 offset+=stripsize, strip++) { in read_strips() 97 tsize_t bufsize = size - offset; in read_strips() 265 tsize_t scanlinesize, offset; in write_scanlines() local [all …]
|
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_stream.cxx | 171 if (static_cast<uint64>(offset) != new_offset) in _tiffosSeekProc() 174 os->seekp(offset, ios::beg); in _tiffosSeekProc() 181 if (static_cast<uint64>(offset) != off) in _tiffosSeekProc() 184 os->seekp(offset, ios::cur); in _tiffosSeekProc() 191 if (static_cast<uint64>(offset) != off) in _tiffosSeekProc() 194 os->seekp(offset, ios::end); in _tiffosSeekProc() 267 data->stream->seekg(offset, ios::beg); in _tiffisSeekProc() 274 if (static_cast<uint64>(offset) != off) in _tiffisSeekProc() 277 data->stream->seekg(offset, ios::cur); in _tiffisSeekProc() 284 if (static_cast<uint64>(offset) != off) in _tiffisSeekProc() [all …]
|
| H A D | tiffiop.h | 286 # define fseek(stream,offset,whence) fseeko(stream,offset,whence) argument 287 # define ftell(stream,offset,whence) ftello(stream,offset,whence) argument 294 #define _TIFF_lseek_f(fildes,offset,whence) _lseeki64(fildes,/* __int64 */ offset,whence) argument 296 #define _TIFF_fseek_f(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence) argument 304 #define _TIFF_lseek_f(fildes,offset,whence) lseek(fildes,offset,whence) argument 306 #define _TIFF_fseek_f(stream,offset,whence) fseek(stream,offset,whence) argument
|
| H A D | tif_dirread.c | 805 TIFFSwabLong(&offset); in TIFFReadDirEntryArray() 823 TIFFSwabLong8(&offset); in TIFFReadDirEntryArray() 2823 TIFFSwabLong(&offset); in TIFFReadDirEntryCheckedLong8() 2842 TIFFSwabLong(&offset); in TIFFReadDirEntryCheckedSlong8() 2866 TIFFSwabLong(&offset); in TIFFReadDirEntryCheckedRational() 2894 TIFFSwabLong(&offset); in TIFFReadDirEntryCheckedSrational() 2936 TIFFSwabLong(&offset); in TIFFReadDirEntryCheckedDouble() 3293 ma=(size_t)offset; in TIFFReadDirEntryData() 5452 uint32 offset; in TIFFFetchSubjectDistance() local 5500 uint64 offset; in ChopUpSingleUncompressedStrip() local [all …]
|
| H A D | tif_config.h.cmake.in | 17 /* enable deferred strip/tile offset/size loading (experimental) */ 248 /* Number of bits in a file offset, on hosts where this is settable. */
|
| H A D | tif_config.h.in | 24 /* enable deferred strip/tile offset/size loading (experimental) */ 388 /* Number of bits in a file offset, on hosts where this is settable. */
|
| /libtiff-4.0.7/contrib/mfs/ |
| H A D | mfs_file.c | 80 int mfs_lseek (int fd, int offset, int whence); 242 int mfs_lseek (int fd, int offset, int whence) in mfs_lseek() argument 252 else if (offset < 0 && whence == SEEK_SET) in mfs_lseek() 262 if (offset > buf_size[fd]) in mfs_lseek() 263 extend_mem_file (fd, offset); in mfs_lseek() 264 buf_off[fd] = offset; in mfs_lseek() 265 ret = offset; in mfs_lseek() 269 test_off = buf_off[fd] + offset; in mfs_lseek() 286 test_off = buf_size[fd] + offset; in mfs_lseek()
|
| /libtiff-4.0.7/contrib/stream/ |
| H A D | tiffstream.cpp | 123 TiffStream::seek(thandle_t fd, toff_t offset, int origin) in seek() argument 126 if(ts->seekInt(fd, offset, origin) == true) return offset; in seek() 193 TiffStream::seekInt(thandle_t fd, unsigned int offset, int origin) in seekInt() argument 212 ts->m_inStream->seekg(offset, org); in seekInt() 215 ts->m_outStream->seekp(offset, org); in seekInt() 218 ts->m_ioStream->seekg(offset, org); in seekInt() 219 ts->m_ioStream->seekp(offset, org); in seekInt()
|
| H A D | tiffstream.h | 34 static toff_t seek(thandle_t fd, toff_t offset, int origin); 49 bool seekInt(thandle_t fd, unsigned int offset, int origin);
|
| /libtiff-4.0.7/contrib/addtiffo/ |
| H A D | README | 66 TIFF Directory at offset 0x118008 74 TIFF Directory at offset 0x15e1d2 83 TIFF Directory at offset 0x1732b8 92 TIFF Directory at offset 0x17a366 101 TIFF Directory at offset 0x17b40c
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffinfoce.c | 145 toff_t offset; in main() local 149 &offset)) { in main() 150 if (TIFFReadEXIFDirectory(tif, offset)) in main()
|
| H A D | tiffinfo.c | 150 toff_t offset=0; in main() local 154 &offset)) { in main() 155 if (TIFFReadEXIFDirectory(tif, offset)) { in main()
|
| H A D | tiff2pdf.c | 384 t2pSeekFile(TIFF *tif, toff_t offset, int whence) in t2pSeekFile() argument 389 return proc(client, offset, whence); in t2pSeekFile() 413 t2p_seekproc(thandle_t handle, uint64 offset, int whence) in t2p_seekproc() argument 417 return _TIFF_fseek_f(t2p->outputfile, (_TIFF_off_t) offset, whence); in t2p_seekproc() 418 return offset; in t2p_seekproc() 436 t2p_mapproc(thandle_t handle, void **data, toff_t *offset) in t2p_mapproc() argument 438 (void) handle, (void) data, (void) offset; in t2p_mapproc() 443 t2p_unmapproc(thandle_t handle, void *data, toff_t offset) in t2p_unmapproc() argument 445 (void) handle, (void) data, (void) offset; in t2p_unmapproc()
|
| H A D | tiffcrop.c | 221 struct offset { struct 489 struct offset *); 5073 struct offset *off) in computeInputPixelOffsets() 5361 struct offset offsets; in getCropOffsets() 5368 memset(&offsets, '\0', sizeof(struct offset)); in getCropOffsets()
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | bmp2tiff.c | 584 uint32 offset, size; in main() local 614 offset = file_hdr.iOffBits+(length-row-1)*size; in main() 616 offset = file_hdr.iOffBits + row * size; in main() 617 if (_TIFF_lseek_f(fd, offset, SEEK_SET) == (_TIFF_off_t)-1) { in main()
|
| H A D | gif2tiff.c | 529 #define DRAWSEGMENT(offset, step) { \ in rasterize() argument 530 for (row = offset; row < height; row += step) { \ in rasterize()
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | README | 59 offset, which lists the position in the file at which to find a private 63 the offset within the file at which it wrote the directory; and 64 TIFFReadPrivateDataSubDirectory(), which takes an offset, a list of
|
| H A D | tif_pdsdirread.c | 1064 uint32 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip() local 1109 newoffsets[strip] = offset; in ChopUpSingleUncompressedStrip() 1110 offset += stripbytes; in ChopUpSingleUncompressedStrip()
|
| /libtiff-4.0.7/ |
| H A D | configure.ac | 984 [enable deferred strip/tile offset/size loading (experimental)]), 988 AC_DEFINE(DEFER_STRILE_LOAD,1,[enable deferred strip/tile offset/size loading (experimental)])
|
| H A D | CMakeLists.txt | 646 option(defer-strile-load "enable deferred strip/tile offset/size loading (experimental)" OFF)
|
| H A D | ChangeLog | 409 offsets on a even offset (affects BigTIFF). This was a regression of the 1761 offset and size tags for optimized scanning of directories. Enabled 2494 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 2580 * tools/tiffinfoce.c (main): Use toff_t for offset type when 2581 retrieving offset of EXIF IFD. 2828 the strip offset/size values are dirty but nothing else about the 3267 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 6909 one tile/strip images with an offset, and byte count of zero. These
|
| H A D | configure | 1542 enable deferred strip/tile offset/size loading
|