Changeset 12221
- Timestamp:
- 09/20/07 16:12:16 (1 year ago)
- Files:
-
- trunk/gdal/frmts/gtiff/geotiff.cpp (modified) (4 diffs)
- trunk/gdal/frmts/gtiff/tif_overview.c (modified) (3 diffs)
- trunk/gdal/frmts/gtiff/tif_ovrcache.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/gtiff/geotiff.cpp
r12100 r12221 2109 2109 if( panOverviewList[i] > 0 ) 2110 2110 { 2111 uint32nOverviewOffset;2111 toff_t nOverviewOffset; 2112 2112 int nOXSize, nOYSize; 2113 2113 … … 2183 2183 { 2184 2184 papoOverviewBands[nNewOverviews++] = poOverview; 2185 break; 2185 2186 } 2186 2187 } … … 2775 2776 const char *pszFilename = pszCompositeName + 10; 2776 2777 int bAbsolute = FALSE; 2777 uint32nOffset;2778 toff_t nOffset; 2778 2779 2779 2780 if( EQUALN(pszFilename,"off:",4) ) … … 3422 3423 && TIFFReadDirectory( hTIFF ) != 0 ) 3423 3424 { 3424 uint32nThisDir = TIFFCurrentDirOffset(hTIFF);3425 toff_t nThisDir = TIFFCurrentDirOffset(hTIFF); 3425 3426 uint32 nSubType; 3426 3427 trunk/gdal/frmts/gtiff/tif_overview.c
r8706 r12221 80 80 /************************************************************************/ 81 81 82 uint32TIFF_WriteOverview( TIFF *hTIFF, int nXSize, int nYSize,82 toff_t TIFF_WriteOverview( TIFF *hTIFF, int nXSize, int nYSize, 83 83 int nBitsPerPixel, int nPlanarConfig, int nSamples, 84 84 int nBlockXSize, int nBlockYSize, … … 91 91 92 92 { 93 uint32nBaseDirOffset;94 uint32nOffset;93 toff_t nBaseDirOffset; 94 toff_t nOffset; 95 95 96 96 nBaseDirOffset = TIFFCurrentDirOffset( hTIFF ); … … 564 564 { 565 565 int nOXSize, nOYSize, nOBlockXSize, nOBlockYSize; 566 uint32nDirOffset;566 toff_t nDirOffset; 567 567 568 568 nOXSize = (nXSize + panOvList[i] - 1) / panOvList[i]; trunk/gdal/frmts/gtiff/tif_ovrcache.h
r9511 r12221 60 60 unsigned char *pabyRow2Blocks; 61 61 62 intnDirOffset;62 toff_t nDirOffset; 63 63 TIFF *hTIFF; 64 64 int bTiled; … … 82 82 int nSampleFormat, const char * pszResampling ); 83 83 84 uint32TIFF_WriteOverview( TIFF *, int, int, int, int, int, int, int,84 toff_t TIFF_WriteOverview( TIFF *, int, int, int, int, int, int, int, 85 85 int, int, int, int, unsigned short *, 86 86 unsigned short *, unsigned short *, int );
