Changeset 23319
- Timestamp:
- Mar 13, 2009, 5:10:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPACopy.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPACopy.c
r22699 r23319 173 173 int xParityTarget = psMetadataLookupS32(&mdokT, target->concepts, "CELL.XPARITY"); // Target x parity 174 174 assert(mdokS && mdokT); 175 176 if (xParityTarget == 0) { 177 psMetadataItem *item = psMetadataLookup(target->concepts, "CELL.XPARITY"); // Item with parity 178 xParityTarget = item->data.S32 = xParitySource; 179 } 180 175 181 psAssert (abs(xParitySource) == 1, "CELL.XPARITY not set for source"); 176 182 psAssert (abs(xParityTarget) == 1, "CELL.XPARITY not set for target"); … … 192 198 int yParitySource = psMetadataLookupS32(&mdokS, source->concepts, "CELL.YPARITY"); // Source parity 193 199 assert(mdokS && mdokT); 200 201 if (yParityTarget == 0) { 202 psMetadataItem *item = psMetadataLookup(target->concepts, "CELL.YPARITY"); // Item with parity 203 yParityTarget = item->data.S32 = yParitySource; 204 } 205 194 206 psAssert (abs(yParitySource) == 1, "CELL.YPARITY not set for source"); 195 207 psAssert (abs(yParityTarget) == 1, "CELL.YPARITY not set for target");
Note:
See TracChangeset
for help on using the changeset viewer.
