Changeset 34700
- Timestamp:
- Nov 27, 2012, 9:51:44 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/psps_ids.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/psps_ids.c
r34260 r34700 21 21 CreatePSPSStackDetectionID(int sourceID, int imageID, int detID) 22 22 { 23 // sourceID : ID of database + table that tracked the image (< 0x100 = 256)23 // sourceID : ID of database + table that tracked the image (< 0x100 = 127) 24 24 // imageID : external ID of the image which provided the detections (< 0x1000.0000 ~ 2.7e8) 25 25 // detID : detection sequence in image (< 0x1000.0000 ~ 2.7e8) … … 27 27 assert (detID < 0x10000000); 28 28 assert (imageID < 0x10000000); 29 assert (sourceID < 0x 100);29 assert (sourceID < 0x7f); 30 30 31 31 uint64_t detectid = ((uint64_t)sourceID << 56) + ((uint64_t)imageID << 28) + (uint64_t)detID;
Note:
See TracChangeset
for help on using the changeset viewer.
