Changeset 13528 for trunk/ppSub/src/ppSubCamera.c
- Timestamp:
- May 25, 2007, 5:09:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubCamera.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubCamera.c
r13462 r13528 26 26 27 27 // Input mask 28 pmFPAfile *inputMask = pmFPAfileBindFromArgs(NULL, input, config, "PPSUB.INPUT.MASK", "INPUT.MASK"); 28 pmFPAfile *inputMask = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.INPUT.MASK", "INPUT.MASK"); 29 if (!status) { 30 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 31 return NULL; 32 } 29 33 if (inputMask && inputMask->type != PM_FPA_FILE_MASK) { 30 34 psError(PS_ERR_IO, true, "PPSUB.INPUT.MASK is not of type MASK"); … … 33 37 34 38 // Input weight map 35 pmFPAfile *inputWeight = pmFPAfileBindFromArgs(NULL, input, config, "PPSUB.INPUT.WEIGHT", "INPUT.WEIGHT"); 39 pmFPAfile *inputWeight = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.INPUT.WEIGHT", "INPUT.WEIGHT"); 40 if (!status) { 41 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 42 return NULL; 43 } 36 44 if (inputWeight && inputWeight->type != PM_FPA_FILE_WEIGHT) { 37 45 psError(PS_ERR_IO, true, "PPSUB.INPUT.WEIGHT is not of type WEIGHT"); … … 52 60 53 61 // Reference mask 54 pmFPAfile *refMask = pmFPAfileBindFromArgs(NULL, input, config, "PPSUB.REF.MASK", "REF.MASK"); 62 pmFPAfile *refMask = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.REF.MASK", "REF.MASK"); 63 if (!status) { 64 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 65 return NULL; 66 } 55 67 if (refMask && refMask->type != PM_FPA_FILE_MASK) { 56 68 psError(PS_ERR_IO, true, "PPSUB.REF.MASK is not of type MASK"); … … 59 71 60 72 // Reference weight map 61 pmFPAfile *refWeight = pmFPAfileBindFromArgs(NULL, input, config, "PPSUB.REF.WEIGHT", "REF.WEIGHT"); 73 pmFPAfile *refWeight = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.REF.WEIGHT", "REF.WEIGHT"); 74 if (!status) { 75 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 76 return NULL; 77 } 62 78 if (refWeight && refWeight->type != PM_FPA_FILE_WEIGHT) { 63 79 psError(PS_ERR_IO, true, "PPSUB.REF.WEIGHT is not of type WEIGHT");
Note:
See TracChangeset
for help on using the changeset viewer.
