diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-17 20:00:46 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-17 20:00:46 (GMT) |
commit | 04e7a0ba36f017acde63ff48e98070233294719b (patch) | |
tree | 78a2ab5efdcfc1aff6cbdc4d0cf5a8f349e4fc99 /tools/h5repack/h5repack_parse.c | |
parent | e215d22a79d497518040d74c1d1bd3fce34780cb (diff) | |
download | hdf5-04e7a0ba36f017acde63ff48e98070233294719b.zip hdf5-04e7a0ba36f017acde63ff48e98070233294719b.tar.gz hdf5-04e7a0ba36f017acde63ff48e98070233294719b.tar.bz2 |
[svn-r12936]
make h5repacktst clean a big file which name was changed to "h5repack_big_out.h5", do not use H5Ocopy only when the original DCPL has filters or a request is made for such, more code cleaning
Diffstat (limited to 'tools/h5repack/h5repack_parse.c')
-rw-r--r-- | tools/h5repack/h5repack_parse.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/h5repack/h5repack_parse.c b/tools/h5repack/h5repack_parse.c index 7b173cc..c049026 100644 --- a/tools/h5repack/h5repack_parse.c +++ b/tools/h5repack/h5repack_parse.c @@ -187,20 +187,20 @@ obj_list_t* parse_filter(const char *str, /*------------------------------------------------------------------------- * H5Z_FILTER_SCALEOFFSET - * scaleoffset has the format SOFF=<scale_factor,scale_type> - * scale_type can be - * integer datatype, H5Z_SO_INT (IN) - * float datatype using D-scaling method, H5Z_SO_FLOAT_DSCALE (DS) - * float datatype using E-scaling method, H5Z_SO_FLOAT_ESCALE (ES) , not yet implemented - * for integer datatypes, scale_factor denotes Minimum Bits - * for float datatypes, scale_factor denotes decimal scale factor + * scaleoffset has the format SOFF=<scale_factor,scale_type> + * scale_type can be + * integer datatype, H5Z_SO_INT (IN) + * float datatype using D-scaling method, H5Z_SO_FLOAT_DSCALE (DS) + * float datatype using E-scaling method, H5Z_SO_FLOAT_ESCALE (ES) , not yet implemented + * for integer datatypes, scale_factor denotes Minimum Bits + * for float datatypes, scale_factor denotes decimal scale factor * examples - * SOFF=31,IN - * SOFF=3,DF + * SOFF=31,IN + * SOFF=3,DF *------------------------------------------------------------------------- */ - else if (strcmp(scomp,"SOFF")==0) + else if (strcmp(scomp,"SOFF")==0) { l=-1; /* mask index check */ for ( m=0,u=i+1; u<len; u++,m++) @@ -229,9 +229,9 @@ obj_list_t* parse_filter(const char *str, i=len-1; /* end */ (*n_objs)--; /* we counted an extra ',' */ if (strcmp(smask,"IN")==0) - filt->cd_values[j++]=H5Z_SO_INT; + filt->cd_values[j++]=H5Z_SO_INT; else if (strcmp(smask,"DS")==H5Z_SO_FLOAT_DSCALE) - filt->cd_values[j++]=H5Z_SO_FLOAT_DSCALE; + filt->cd_values[j++]=H5Z_SO_FLOAT_DSCALE; else { error_msg(progname, "scale type must be 'IN' or 'DS' \n"); |