- Timestamp:
- May 29, 2012, 5:08:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/ppMerge/src/ppMergeCamera.c
r33666 r33949 224 224 format = (HDU)->format; \ 225 225 } 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); \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 228 psFree(phuView); \ 229 229 return false; \ … … 232 232 } \ 233 233 } 234 // CZW: 2012-04-10 Version of above to allow different camera formats to be processed together. 235 /* #define CHECK_LEVEL(HDU, CHIP, CELL) { \ */ 236 /* if (HDU) { \ */ 237 /* if (!phuView) { \ */ 238 /* phuView = pmFPAviewAlloc(0); \ */ 239 /* phuView->chip = CHIP; \ */ 240 /* phuView->cell = CELL; \ */ 241 /* } else if ((phuView->chip != (CHIP)) && (phuView->cell != (CELL))) { \ */ 242 /* psError(PS_ERR_UNKNOWN, true, "Differing PHU for input %d", i); \ */ 243 /* psFree(phuView); \ */ 244 /* return false; \ */ 245 /* } \ */ 246 /* if (!format) { \ */ 247 /* format = (HDU)->format; \ */ 248 /* } else if (format != (HDU)->format) { \ */ 249 /* } \ */ 250 /* continue; \ */ 251 /* } \ */ 252 /* } */ 234 253 235 254 psMetadata *format = NULL; ///< Camera format
Note:
See TracChangeset
for help on using the changeset viewer.
