Changeset 16859 for trunk/psModules/src/camera/pmFPACopy.c
- Timestamp:
- Mar 6, 2008, 1:21:37 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPACopy.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPACopy.c
r15180 r16859 110 110 111 111 // enforce the following conditions: 112 // CELL.XPARITY is required 112 // CELL.XPARITY is required for source 113 113 // CELL.XPARITY must be +/- 1 114 114 int xParitySource = psMetadataLookupS32(&mdokS, source->concepts, "CELL.XPARITY"); // Source parity 115 115 int xParityTarget = psMetadataLookupS32(&mdokT, target->concepts, "CELL.XPARITY"); // Target x parity 116 116 assert(mdokS && mdokT); 117 if (abs(xParitySource) != 1 || abs(xParityTarget) != 1) { 118 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 119 "CELL.XPARITY is not set for both source (%d) and target (%d)", 120 xParitySource, xParityTarget); 117 if (abs(xParitySource) != 1) { 118 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "CELL.XPARITY is not set for source (%d)", 119 xParitySource); 121 120 psFree(binning); 122 121 return false; … … 132 131 int yParitySource = psMetadataLookupS32(&mdokS, source->concepts, "CELL.YPARITY"); // Source parity 133 132 assert(mdokS && mdokT); 134 if (abs(yParitySource) != 1 || abs(yParityTarget) != 1) { 135 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 136 "CELL.YPARITY is not set for both source (%d) and target (%d)", 137 yParitySource, yParityTarget); 133 if (abs(yParitySource) != 1) { 134 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "CELL.YPARITY is not set for both source (%d)", 135 yParitySource); 138 136 psFree(binning); 139 137 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
