Changeset 13675 for trunk/ppStats
- Timestamp:
- Jun 5, 2007, 6:31:38 PM (19 years ago)
- Location:
- trunk/ppStats/src
- Files:
-
- 5 edited
-
ppStats.c (modified) (2 diffs)
-
ppStats.h (modified) (1 diff)
-
ppStatsLoop.c (modified) (2 diffs)
-
ppStatsLoop.h (modified) (1 diff)
-
ppStatsStandAlone.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStats.c
r13658 r13675 9 9 #include "ppStats.h" 10 10 11 psMetadata *ppStats(psMetadata *out, // Output metadata 12 pmFPA *fpa, // FPA for which to get statistics 11 psMetadata *ppStats(pmFPA *fpa, // FPA for which to get statistics 13 12 pmFPAview *view, // View for analysis 14 13 psMaskType maskVal, // Value to mask … … 46 45 // Go through the FPA and do the hard work 47 46 psExit status; // Status of statistics loop 48 psMetadata *result = ppStatsLoop(&status, out,data, config);47 psMetadata *result = ppStatsLoop(&status, data, config); 49 48 if (status != PS_EXIT_SUCCESS) { 50 49 psError (PS_ERR_UNKNOWN, false, "Not able to measure FPA statistics.\n"); -
trunk/ppStats/src/ppStats.h
r13658 r13675 12 12 13 13 // Perform the ppStats steps 14 psMetadata *ppStats(psMetadata *out, // Output metadata 15 pmFPA *fpa, // FPA for which to get statistics 14 psMetadata *ppStats(pmFPA *fpa, // FPA for which to get statistics 16 15 pmFPAview *view, // View for analysis 17 16 psMaskType maskVal, // Value to mask -
trunk/ppStats/src/ppStatsLoop.c
r13657 r13675 353 353 354 354 psMetadata *ppStatsLoop(psExit *result, 355 psMetadata *fpaResults, // Metadata to hold the FPA results356 355 ppStatsData *data, // The data 357 356 const pmConfig *config // Configuration … … 369 368 370 369 // allocate a new one if needed 371 psMetadata *newResults = fpaResults; 372 if (!newResults) { 373 newResults = psMetadataAlloc(); 374 } 370 psMetadata *newResults = psMetadataAlloc(); 375 371 376 372 // Iterate through the FPA -
trunk/ppStats/src/ppStatsLoop.h
r13640 r13675 7 7 // Loop over the input image and do all the hard work 8 8 psMetadata *ppStatsLoop(psExit *result, 9 psMetadata *fpaResults, // Metadata to hold the FPA results10 9 ppStatsData *data, // The data 11 10 const pmConfig *config // Configuration -
trunk/ppStats/src/ppStatsStandAlone.c
r13658 r13675 58 58 59 59 // Go through the FPA and do the hard work 60 psMetadata *results = ppStatsLoop(&status, NULL,data, config);60 psMetadata *results = ppStatsLoop(&status, data, config); 61 61 if (status != PS_EXIT_SUCCESS) { 62 62 psErrorStackPrint(stderr, "Error in stats loop.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
