Changeset 28209 for trunk/ppTranslate/src/ppMopsMerge.c
- Timestamp:
- Jun 3, 2010, 5:38:55 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppTranslate/src/ppMopsMerge.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMopsMerge.c
r25256 r28209 28 28 29 29 30 ppMopsDetections *ppMops Merge(const psArray *detections)30 ppMopsDetections *ppMopsPurgeDuplicates(const psArray *detections) 31 31 { 32 32 PS_ASSERT_ARRAY_NON_NULL(detections, NULL); 33 33 34 psTrace("ppMops.merge", 1, "Merging detections from %ld inputs\n", detections->n); 34 int numInputs = detections->n; // Number of inputs 35 psTrace("ppMops.merge", 1, "Checking detections from %ld inputs\n", numInputs); 36 37 psArray *dupes = psArrayAlloc(numInputs); // Vector of duplicate bits for each input 38 for (int i = 0; i < numInputs; i++) { 39 ppMopsDetections *det = detections->data[i]; // Detections from 40 41 42 43 44 45 dupes->data[i] = psVector 35 46 36 47 ppMopsDetections *merged = NULL; // Merged list
Note:
See TracChangeset
for help on using the changeset viewer.
