IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2015, 8:56:11 AM (11 years ago)
Author:
eugene
Message:

extending gfits_table_get_ APIs to allow separate scaling from swapping, in prep of using compression on tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/addstar/src/findskycell.c

    r37116 r38344  
    183183  // convert database table to internal structure (binary to Image)
    184184  // 'image' points to the same memory as db->ftable->buffer
    185   image = gfits_table_get_Image (&db.ftable, &Nimage, &db.swapped);
     185  image = gfits_table_get_Image (&db.ftable, &Nimage, &db.scaledValue, &db.nativeOrder);
    186186  if (!image) {
    187187      fprintf (stderr, "ERROR: failed to read images\n");
     
    567567  // convert database table to internal structure (binary to Image)
    568568  // 'image' points to the same memory as db->ftable->buffer
    569   image = gfits_table_get_Image (&db.ftable, &Nimage, &db.swapped);
     569  image = gfits_table_get_Image (&db.ftable, &Nimage, &db.scaledValue, &db.nativeOrder);
    570570  if (!image) {
    571571    fprintf (stderr, "ERROR: failed to read images\n");
Note: See TracChangeset for help on using the changeset viewer.