IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2015, 5:42:47 PM (11 years ago)
Author:
eugene
Message:

libfits compressed I/O seems to be generally working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/matrix/F_compress_utils.c

    r38356 r38366  
    174174
    175175  if (!strcasecmp(cmptype, "NONE")) return TRUE;
     176  if (!strcasecmp(cmptype, "NONE_2")) return TRUE; // do not compress, but shuffle a la GZIP_2
    176177  if (!strcasecmp(cmptype, "GZIP_1")) return TRUE;
    177178  if (!strcasecmp(cmptype, "GZIP_2")) return TRUE;
     
    190191  if (!strcasecmp(cmptype, "GZIP_1") ||
    191192      !strcasecmp(cmptype, "GZIP_2") ||
     193      !strcasecmp(cmptype, "NONE_2") ||
    192194      !strcasecmp(cmptype, "NONE")) {
    193195    if (out_bitpix ==   8) return (1);
     
    235237  if (!strcasecmp(cmptype, "GZIP_1") ||
    236238      !strcasecmp(cmptype, "GZIP_2") ||
     239      !strcasecmp(cmptype, "NONE_2") ||
    237240      !strcasecmp(cmptype, "NONE")) {
    238241    if (out_bitpix ==   8) return (1);
     
    280283  if (!strcasecmp(cmptype, "GZIP_1") ||
    281284      !strcasecmp(cmptype, "GZIP_2") ||
     285      !strcasecmp(cmptype, "NONE_2") ||
    282286      !strcasecmp(cmptype, "NONE")) {
    283287    return (out_bitpix);
Note: See TracChangeset for help on using the changeset viewer.