- Timestamp:
- Dec 9, 2010, 3:12:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ppStack/src/ppStackCleanup.c
r27427 r30012 11 11 #include "ppStackLoop.h" 12 12 13 13 // XXX poor name : move jpeg & stats to a separate function? 14 // ppStackCleanupFiles 14 15 bool ppStackCleanup(ppStackThreadData *stack, ppStackOptions *options, pmConfig *config) 15 16 { … … 20 21 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe 21 22 psAssert(recipe, "We've thrown an error on this before."); 22 23 #if 024 // Ensure masked regions really look masked25 {26 psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits for bad27 psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels28 if (!pmReadoutMaskApply(options->outRO, maskBad)) {29 psWarning("Unable to apply mask");30 }31 }32 #endif33 23 34 24 // Generate binned JPEGs … … 92 82 options->expRO = NULL; 93 83 84 // XXX move these close / free operations to the jpeg creation function 94 85 pmFPAview *view = pmFPAviewAlloc(0);// Pointer into FPA hierarchy 95 86 view->chip = view->cell = 0; // pmFPAviewFreeData doesn't want to deal with readouts
Note:
See TracChangeset
for help on using the changeset viewer.
