IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24796


Ignore:
Timestamp:
Jul 14, 2009, 6:39:20 PM (17 years ago)
Author:
eugene
Message:

mod to pmReadoutReadChunk API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackThread.c

    r23341 r24796  
    187187
    188188
     189                int zMax = 0;
    189190                bool keepReading = false;
    190                 if (pmReadoutMore(ro, imageFits, 0, rows, config)) {
     191                if (pmReadoutMore(ro, imageFits, 0, &zMax, rows, config)) {
    191192                    keepReading = true;
    192                     if (!pmReadoutReadChunk(ro, imageFits, 0, rows, overlap, config)) {
     193                    if (!pmReadoutReadChunk(ro, imageFits, 0, NULL, rows, overlap, config)) {
    193194                        psError(PS_ERR_IO, false, "Unable to read chunk %d for file PPSTACK.INPUT %d",
    194195                                numChunk, i);
     
    198199                }
    199200
    200                 if (pmReadoutMoreMask(ro, maskFits, 0, rows, config)) {
     201                if (pmReadoutMoreMask(ro, maskFits, 0, &zMax, rows, config)) {
    201202                    keepReading = true;
    202                     if (!pmReadoutReadChunkMask(ro, maskFits, 0, rows, overlap, config)) {
     203                    if (!pmReadoutReadChunkMask(ro, maskFits, 0, NULL, rows, overlap, config)) {
    203204                        psError(PS_ERR_IO, false, "Unable to read chunk %d for file PPSTACK.INPUT.MASK %d",
    204205                                numChunk, i);
     
    208209                }
    209210
    210                 if (pmReadoutMoreVariance(ro, varianceFits, 0, rows, config)) {
     211                if (pmReadoutMoreVariance(ro, varianceFits, 0, &zMax, rows, config)) {
    211212                    keepReading = true;
    212                     if (!pmReadoutReadChunkVariance(ro, varianceFits, 0, rows, overlap, config)) {
     213                    if (!pmReadoutReadChunkVariance(ro, varianceFits, 0, NULL, rows, overlap, config)) {
    213214                        psError(PS_ERR_IO, false,
    214215                                "Unable to read chunk %d for file PPSTACK.INPUT.VARIANCE %d",
Note: See TracChangeset for help on using the changeset viewer.