summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-04-26 20:26:17 (GMT)
committerXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-04-26 20:26:17 (GMT)
commit02f7cdac77db74b90b8c697369e5d6ad8c38326a (patch)
tree10652438594ad6407430a842575f499787349553 /src
parent0af6a38a3f82cc6badaaea514c404d3c8b88e799 (diff)
downloadhdf5-02f7cdac77db74b90b8c697369e5d6ad8c38326a.zip
hdf5-02f7cdac77db74b90b8c697369e5d6ad8c38326a.tar.gz
hdf5-02f7cdac77db74b90b8c697369e5d6ad8c38326a.tar.bz2
[svn-r10672] Purpose:
New feature. Description: The H5Pset_scaleoffset is changed for the scaleoffset filter to handle both integer and floating-point data. Currently, the D-scaling method from GRIB has been implemented for compressing floating-point data. Solution: One more parameter is added to the H5Pset_scaleoffset interface to let user specify what type of data is used and what method to use as well as corresponding parameters. Platforms tested: heping Misc. update: Needs to update libtool's version number
Diffstat (limited to 'src')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 576b66b..179e7f6 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -246,7 +246,7 @@ H5_DLL herr_t H5Pset_deflate(hid_t plist_id, unsigned aggression);
H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels_per_block);
H5_DLL herr_t H5Pset_shuffle(hid_t plist_id);
H5_DLL herr_t H5Pset_nbit(hid_t plist_id);
-H5_DLL herr_t H5Pset_scaleoffset(hid_t plist_id, unsigned min_bits);
+H5_DLL herr_t H5Pset_scaleoffset(hid_t plist_id, int scale_factor, unsigned scale_type);
H5_DLL herr_t H5Pset_fletcher32(hid_t plist_id);
H5_DLL herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check);
H5_DLL H5Z_EDC_t H5Pget_edc_check(hid_t plist_id);