Changeset 12840 for trunk/Ohana/src/libdvo
- Timestamp:
- Apr 17, 2007, 9:59:02 AM (19 years ago)
- Location:
- trunk/Ohana/src/libdvo
- Files:
-
- 2 edited
-
include/dvo.h (modified) (1 diff)
-
src/mosaic_astrom.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/include/dvo.h
r12332 r12840 241 241 char *libdvo_version (); 242 242 243 int GetRegisteredMosaic (); 243 244 int FindMosaicForImage (Image *images, int Nimages, int entry); 244 245 int FindMosaicForImage_TableSearch (Image *images, int Nimages, int entry); -
trunk/Ohana/src/libdvo/src/mosaic_astrom.c
r5241 r12840 3 3 /* chip-match table: j = ChipMatch[i], images[j] is DIS for images[i] WRP */ 4 4 5 static int iDIS = -1; // DIS entry in ChipMatch[] 5 6 static int Ndis = 0; 6 7 static int *DISentry = NULL; 7 8 static e_time *DIStzero = NULL; 8 9 static int *ChipMatch = NULL; 10 11 /* what is the currently registered mosaic image? */ 12 int GetRegisteredMosaic () { 13 return (iDIS); 14 } 9 15 10 16 /* given an image array and a current entry of type WRP, find matching DIS & Register it */ … … 42 48 /* found a valid match */ 43 49 RegisterMosaic (&images[i].coords); 50 iDIS = i; 51 return (TRUE); 44 52 } 45 53 … … 50 58 /* found a valid match */ 51 59 RegisterMosaic (&images[i].coords); 60 iDIS = i; 52 61 return (TRUE); 53 62 } … … 72 81 73 82 RegisterMosaic (&images[N].coords); 83 iDIS = N; 74 84 return (TRUE); 75 85 }
Note:
See TracChangeset
for help on using the changeset viewer.
