IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18517


Ignore:
Timestamp:
Jul 14, 2008, 2:46:53 PM (18 years ago)
Author:
eugene
Message:

pmConfigMaskReadHeader moved to pmFPAfileDefineFromArgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080706/ppImage/src/ppImageParseCamera.c

    r18430 r18517  
    3030      if (inputMask->type != PM_FPA_FILE_MASK) {
    3131        psError(PS_ERR_IO, true, "PPIMAGE.INPUT.MASK is not of type MASK");
    32         return NULL;
    33       }
    34       // XXX need to load the mask bit names from one of the headers
    35       // this grabs the first available hdu : no guarantee that it will be valid, though
    36       pmHDU *hdu = pmHDUGetFirst (inputMask->fpa);
    37       if (!hdu) {
    38         psError(PS_ERR_IO, true, "no valid HDU for PPIMAGE.INPUT.MASK");
    39         return NULL;
    40       }
    41       if (!pmConfigMaskReadHeader (config, hdu->header)) {
    42         psError(PS_ERR_IO, false, "error in mask bits");
    4332        return NULL;
    4433      }
Note: See TracChangeset for help on using the changeset viewer.