Changeset 9998
- Timestamp:
- Nov 14, 2006, 4:50:24 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r9983 r9998 261 261 if (readdir == 1) { 262 262 // Reading rows 263 if (numScans == 0) { 264 numScans = naxis2 - readout->row0; 265 } 263 266 readout->row0 += readout->image->numRows; 264 267 offset = readout->row0; 265 if (numScans == 0) {266 numScans = naxis2 - offset;267 }268 268 } else { 269 269 // Reading columns 270 if (numScans == 0) { 271 numScans = naxis1 - readout->col0; 272 } 270 273 readout->col0 += readout->image->numCols; 271 274 offset = readout->col0; 272 if (numScans == 0) { 273 numScans = naxis1 - offset; 274 } 275 } 276 } else { 277 if (numScans == 0) { 278 if (readdir == 1) { 279 numScans = naxis2; 280 } else 281 numScans = naxis1; 275 282 } 276 283 }
Note:
See TracChangeset
for help on using the changeset viewer.
