Changeset 23724 for trunk/Ohana/src/libfits/matrix/F_compress_M.c
- Timestamp:
- Apr 7, 2009, 12:45:31 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_compress_M.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_compress_M.c
r20652 r23724 248 248 // XXX not certain this is the correct place to do the swap (or if zdata_pixsize is 249 249 // the correct size to guide the swap) 250 if (!gfits_byteswap_zdata (zdata, Nzdata, zdata_pixsize)) return (FALSE); 250 251 if (strcasecmp(cmptype, "GZIP_1")) { 252 if (!gfits_byteswap_zdata (zdata, Nzdata, zdata_pixsize)) return (FALSE); 253 } 251 254 252 255 // gfits_uncompress_data uncompresses from zdata to the temporary output buffer which must be allocated … … 496 499 497 500 if (!strcasecmp(cmptype, "GZIP_1")) { 498 return (4); 501 if (out_bitpix == 8) return (1); 502 if (out_bitpix == 16) return (2); 503 if (out_bitpix == 32) return (4); 504 if (out_bitpix == -32) return (4); 505 if (out_bitpix == -64) return (8); 506 return (1); 499 507 } 500 508 if (!strcasecmp(cmptype, "RICE_1")) {
Note:
See TracChangeset
for help on using the changeset viewer.
