Changeset 16861 for trunk/psModules/src/camera/pmFPACopy.c
- Timestamp:
- Mar 6, 2008, 2:09:40 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
r16859 r16861 120 120 psFree(binning); 121 121 return false; 122 }123 if (xParityTarget != xParitySource) {124 xFlip = true;125 122 } else { 126 123 // Use the source parity 127 124 COPY_CONCEPT(target->concepts, source->concepts, "CELL.XPARITY", S32); 125 xParityTarget = xParitySource; 126 } 127 if (xParityTarget != xParitySource) { 128 xFlip = true; 128 129 } 129 130 … … 132 133 assert(mdokS && mdokT); 133 134 if (abs(yParitySource) != 1) { 134 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "CELL.YPARITY is not set for bothsource (%d)",135 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "CELL.YPARITY is not set for source (%d)", 135 136 yParitySource); 136 137 psFree(binning); 137 138 return false; 138 }139 if (yParityTarget != yParitySource) {140 yFlip = true;141 139 } else { 142 140 // Use the source parity 143 141 COPY_CONCEPT(target->concepts, source->concepts, "CELL.YPARITY", S32); 142 yParityTarget = yParitySource; 143 } 144 if (yParityTarget != yParitySource) { 145 yFlip = true; 144 146 } 145 147 psTrace("psModules.camera", 3, "xFlip: %d; yFlip: %d\n", xFlip, yFlip);
Note:
See TracChangeset
for help on using the changeset viewer.
