MCPcopy Create free account
hub / github.com/OSGeo/gdal / ReadRaster

Function ReadRaster

autotest/cpp/testblockcache.cpp:116–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116static void ReadRaster(GDALDataset *poDS, int nXSize, int nYSize, int nBands,
117 GByte *pBuffer, int nXOff, int nYOff, int nXWin,
118 int nYWin)
119{
120 CPL_IGNORE_RET_VAL(poDS->RasterIO(GF_Read, nXOff, nYOff, nXWin, nYWin,
121 pBuffer, nXWin, nYWin, GDT_Byte, nBands,
122 nullptr, 0, 0, 0
123#ifdef GDAL_COMPILATION
124 ,
125 nullptr
126#endif
127 ));
128 if (bCheck)
129 {
130 Check(pBuffer, nXSize, nYSize, nBands, nXOff, nYOff, nXWin, nYWin);
131 }
132}
133
134static void AddRequest(Request *&psRequestList, Request *&psRequestLast,
135 int nXOff, int nYOff, int nXWin, int nYWin, int nBands)

Callers 2

ThreadFuncWithMigrationFunction · 0.70

Calls 3

CheckFunction · 0.70
CPL_IGNORE_RET_VALFunction · 0.50
RasterIOMethod · 0.45

Tested by

no test coverage detected