- Timestamp:
- May 31, 2015, 8:36:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/libfits/table/F_compress_T.c
r38334 r38342 178 178 } 179 179 180 # define VERBOSE 0 181 180 182 // raw_pixsize is the bytes / pixel for the input matrix 181 183 // place the raw image bytes for the current tile into the tile buffer … … 188 190 off_t Nx = table->header->Naxis[0]; 189 191 192 if (VERBOSE) fprintf (stderr, "collect: "); 190 193 for (i = 0; i < Nrows; i++) { 191 194 int row = row_start + i; 192 195 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"); 194 201 195 202 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
