Changeset 41848
- Timestamp:
- Oct 17, 2021, 1:31:19 PM (5 years ago)
- Location:
- branches/eam_branches/ppStack.20211015/src
- Files:
-
- 3 edited
-
ppStackCombineFinal.c (modified) (1 diff)
-
ppStackCombinePercent.c (modified) (2 diffs)
-
ppStackLoopByPercent.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ppStack.20211015/src/ppStackCombineFinal.c
r36855 r41848 2 2 3 3 // This is the doomsday switch. 4 // # define TESTING // Enable test output4 // # define TESTING // Enable test output 5 5 6 6 //MEH -- adhoc addition to blank mask border of final stack since rejection different/none on order of KERNEL.SIZE with overlap in CombineInitial -
branches/eam_branches/ppStack.20211015/src/ppStackCombinePercent.c
r41842 r41848 1 1 #include "ppStack.h" 2 3 // #define TESTING 2 4 3 5 bool ppStackCombinePercent(ppStackThreadData *stack, ppStackOptions *options, pmConfig *config) … … 32 34 } 33 35 34 if (!psThreadPoolWait( false, true)) {36 if (!psThreadPoolWait(true, true)) { 35 37 psError(psErrorCodeLast(), false, "Unable to do initial combination."); 36 38 return false; 37 }38 39 psThreadJob *job; // Completed job40 while ((job = psThreadJobGetDone())) {41 psAssert(strcmp(job->type, "PPSTACK_PERCENT_COMBINE") == 0,42 "Job has incorrect type: %s", job->type);43 psFree(job);44 39 } 45 40 -
branches/eam_branches/ppStack.20211015/src/ppStackLoopByPercent.c
r41842 r41848 41 41 42 42 // Done with stack inputs for now 43 // XXX is this where we are leaking??44 43 for (int i = 0; i < options->num; i++) { 45 44 pmCellFreeData(options->cells->data[i]); 46 45 } 47 // MEH -- must uncomment back out -- unclear is should be moved after pixel rejection48 psFree(stack);49 46 50 47 psLogMsg("ppStack", PS_LOG_INFO, "Stage 5: Final Stack: %f sec", psTimerClear("PPSTACK_STEPS")); … … 96 93 return false; 97 94 } 98 // MEH -- also must uncomment back out..99 95 psFree(stack); 100 96 psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS"));
Note:
See TracChangeset
for help on using the changeset viewer.
