- Timestamp:
- Jun 19, 2012, 5:24:19 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppMerge/src/ppMergeCamera.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ppMerge/src/ppMergeCamera.c
r27989 r34041 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 … … 334 353 fileType = PM_FPA_FILE_IMAGE; 335 354 break; 355 case PPMERGE_TYPE_NOISEMAP: 356 fileType = PM_FPA_FILE_IMAGE; 357 break; 336 358 case PPMERGE_TYPE_FRINGE: 337 359 fileType = PM_FPA_FILE_FRINGE;
Note:
See TracChangeset
for help on using the changeset viewer.
