Changeset 33755
- Timestamp:
- Apr 10, 2012, 4:20:20 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCamera.c
r33666 r33755 210 210 211 211 // Check an FPA level to ensure the camera format and PHU are consistent across all input files 212 /* #define CHECK_LEVEL(HDU, CHIP, CELL) { \ */ 213 /* if (HDU) { \ */ 214 /* if (!phuView) { \ */ 215 /* phuView = pmFPAviewAlloc(0); \ */ 216 /* phuView->chip = CHIP; \ */ 217 /* phuView->cell = CELL; \ */ 218 /* } else if ((phuView->chip != (CHIP)) && (phuView->cell != (CELL))) { \ */ 219 /* psError(PS_ERR_UNKNOWN, true, "Differing PHU for input %d", i); \ */ 220 /* psFree(phuView); \ */ 221 /* return false; \ */ 222 /* } \ */ 223 /* if (!format) { \ */ 224 /* format = (HDU)->format; \ */ 225 /* } else if (format != (HDU)->format) { \ */ 226 /* psError(PS_ERR_UNKNOWN, true, "Camera format %d doesn't match: %p vs %p on %s %s", \ */ 227 /* i, format, (HDU)->format, (HDU)->extname, psMetadataLookupStr(NULL,(HDU)->header,"FILENAME")); \ */ 228 /* psFree(phuView); \ */ 229 /* return false; \ */ 230 /* } \ */ 231 /* continue; \ */ 232 /* } \ */ 233 /* } */ 212 234 #define CHECK_LEVEL(HDU, CHIP, CELL) { \ 213 235 if (HDU) { \ … … 224 246 format = (HDU)->format; \ 225 247 } else if (format != (HDU)->format) { \ 226 psError(PS_ERR_UNKNOWN, true, "Camera format %d doesn't match: %p vs %p", \227 i, format, (HDU)->format); \228 psFree(phuView); \229 return false; \230 248 } \ 231 249 continue; \
Note:
See TracChangeset
for help on using the changeset viewer.
