IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2015, 8:36:59 AM (11 years ago)
Author:
eugene
Message:

adding compressed table I/O tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/table/F_compress_T.c

    r38334 r38342  
    178178}
    179179
     180# define VERBOSE 0
     181
    180182// raw_pixsize is the bytes / pixel for the input matrix
    181183// place the raw image bytes for the current tile into the tile buffer
     
    188190  off_t Nx = table->header->Naxis[0];
    189191
     192  if (VERBOSE) fprintf (stderr, "collect: ");
    190193  for (i = 0; i < Nrows; i++) {
    191194    int row = row_start + i;
    192195    memcpy (&raw[i*rowsize], &table->buffer[Nx*row + col], rowsize);
    193   }
     196# if (VERBOSE)
     197    int j; for (j = 0; j < rowsize; j++) fprintf (stderr, "0x%02hhx ", table->buffer[Nx*row + col + j]);
     198# endif
     199  }
     200  if (VERBOSE) fprintf (stderr, "\n");
    194201
    195202  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.