IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34700 for trunk


Ignore:
Timestamp:
Nov 27, 2012, 9:51:44 AM (14 years ago)
Author:
bills
Message:

source id must be less than 0x100

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/psps_ids.c

    r34260 r34700  
    2121CreatePSPSStackDetectionID(int sourceID, int imageID, int detID)
    2222{
    23   // sourceID : ID of database + table that tracked the image (< 0x100 = 256)
     23  // sourceID : ID of database + table that tracked the image (< 0x100 = 127)
    2424  // imageID : external ID of the image which provided the detections (< 0x1000.0000 ~ 2.7e8)
    2525  // detID : detection sequence in image (< 0x1000.0000 ~ 2.7e8)
     
    2727  assert (detID    < 0x10000000);
    2828  assert (imageID  < 0x10000000);
    29   assert (sourceID < 0x100);
     29  assert (sourceID < 0x7f);
    3030 
    3131  uint64_t detectid = ((uint64_t)sourceID << 56) + ((uint64_t)imageID << 28) + (uint64_t)detID;
Note: See TracChangeset for help on using the changeset viewer.