Changeset 6668
- Timestamp:
- Mar 21, 2006, 2:10:47 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 8 edited
-
chiptool.c (modified) (1 diff)
-
chiptoolConfig.c (modified) (3 diffs)
-
p2insertPendingFrames.c (modified) (1 diff)
-
p2pendingToDone.c (modified) (2 diffs)
-
p2rawToPending.c (modified) (1 diff)
-
pxconfig.c (modified) (2 diffs)
-
pxframes.c (modified) (5 diffs)
-
pxtools.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r6341 r6668 149 149 static bool doneMode(pxConfig *config) 150 150 { 151 // get exp_id/class/class_id/ur lfrom the CLI // add the completed imfile to151 // get exp_id/class/class_id/uri from the CLI // add the completed imfile to 152 152 // the p2DoneImfile tables // remove corresponding entries from the 153 153 // p2PendingImfile table // check to see if any p2PendingExps have no -
trunk/ippTools/src/chiptoolConfig.c
r6369 r6668 66 66 psMetadataAddStr(arguments, PS_LIST_TAIL, "-class", 0, "define class", ""); 67 67 psMetadataAddStr(arguments, PS_LIST_TAIL, "-class_id", 0, "define class ID", ""); 68 psMetadataAddStr(arguments, PS_LIST_TAIL, "-ur l", 0, "define URL", "");68 psMetadataAddStr(arguments, PS_LIST_TAIL, "-uri", 0, "define URL", ""); 69 69 70 70 if (config->mode == PX_MODE_NONE) { … … 91 91 config->class_id = psMetadataLookupStr(&status, arguments, 92 92 "-class_id"); 93 config->ur l = psMetadataLookupStr(&status, arguments, "-url");93 config->uri = psMetadataLookupStr(&status, arguments, "-uri"); 94 94 95 95 // XXX why is "" being returned when -[foo] isn't specified? … … 103 103 EMPTY_TO_NULL_STRING(config->class); 104 104 EMPTY_TO_NULL_STRING(config->class_id); 105 EMPTY_TO_NULL_STRING(config->ur l);105 EMPTY_TO_NULL_STRING(config->uri); 106 106 107 107 psMetadata *where = psMetadataAlloc(); -
trunk/ippTools/src/p2insertPendingFrames.c
r6661 r6668 57 57 rawImage->exp_id, 58 58 rawImage->class_id, 59 rawImage->ur l,59 rawImage->uri, 60 60 "my stats", 61 61 "my recipe", -
trunk/ippTools/src/p2pendingToDone.c
r6661 r6668 41 41 pendingImage->exp_id, 42 42 pendingImage->class_id, 43 pendingImage->ur l,43 pendingImage->uri, 44 44 "my stats", // stats 45 45 "my recipe", // recipe … … 74 74 pendingImfile->exp_id, 75 75 pendingImfile->class_id, 76 pendingImfile->ur l,76 pendingImfile->uri, 77 77 "my recipe", // recipe 78 78 "my stats", // stats -
trunk/ippTools/src/p2rawToPending.c
r6661 r6668 33 33 rawImage->exp_id, 34 34 rawImage->class_id, 35 rawImage->ur l,35 rawImage->uri, 36 36 "my stats", // stats 37 37 "my recipe", // recipe -
trunk/ippTools/src/pxconfig.c
r6654 r6668 24 24 config->class = NULL; 25 25 config->class_id = NULL; 26 config->ur l= NULL;26 config->uri = NULL; 27 27 config->where = NULL; 28 28 … … 45 45 psFree(config->class); 46 46 psFree(config->class_id); 47 psFree(config->ur l);47 psFree(config->uri); 48 48 psFree(config->where); 49 49 } -
trunk/ippTools/src/pxframes.c
r6661 r6668 33 33 } 34 34 35 PX_FRAME_ALLOC(pzPendingFrame, pzPendingExp); 35 36 PX_FRAME_ALLOC(newFrame, newExp); 36 37 PX_FRAME_ALLOC(rawDetrendFrame, rawDetrendExp); … … 55 56 imfiletype##Row *image = frame->images->data[j]; \ 56 57 fprintf (stream, "%s %s %s\n", \ 57 image->exp_id, image->class_id, image->ur l); \58 image->exp_id, image->class_id, image->uri); \ 58 59 psMetadata *md = imfiletype##MetadataFromObject(image); \ 59 60 psMetadataAddMetadata(output, PS_LIST_TAIL, #imfiletype, PS_META_DUPLICATE_OK, NULL, md); \ … … 69 70 } 70 71 72 PX_FRAME_PRINT(pzPendingFrame, pzPendingImfile); 71 73 PX_FRAME_PRINT(newFrame, newImfile); 72 74 PX_FRAME_PRINT(rawScienceFrame, rawImfile); … … 143 145 newImfile->exp_id, 144 146 newImfile->class_id, 145 newImfile->ur l,147 newImfile->uri, 146 148 "my stats" 147 149 ) … … 202 204 newImfile->exp_id, 203 205 newImfile->class_id, 204 newImfile->ur l,206 newImfile->uri, 205 207 "my stats" 206 208 ) -
trunk/ippTools/src/pxtools.h
r6659 r6668 46 46 char *class; 47 47 char *class_id; 48 char *ur l;48 char *uri; 49 49 psMetadata *where; 50 50 } pxConfig; 51 52 typedef struct { 53 pzPendingExpRow *exposure; 54 psArray *images; 55 } pzPendingFrame; 56 57 pzPendingFrame *pzPendingExpFrameAlloc( 58 pzPendingExpRow *exposure, 59 psArray *images 60 ); 51 61 52 62 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.
