diff options
author | Xiaowen Wu <wuxiaowe@ncsa.uiuc.edu> | 2005-02-17 03:03:50 (GMT) |
---|---|---|
committer | Xiaowen Wu <wuxiaowe@ncsa.uiuc.edu> | 2005-02-17 03:03:50 (GMT) |
commit | 7b4b65be1ceffea0db89d0e7b234201d2229244a (patch) | |
tree | f38e285d19a169d1e5920aa02cefaa005f7f8259 /src/H5Z.c | |
parent | 92173d4496ef45c01a25e74ee95d6274085ac5bf (diff) | |
download | hdf5-7b4b65be1ceffea0db89d0e7b234201d2229244a.zip hdf5-7b4b65be1ceffea0db89d0e7b234201d2229244a.tar.gz hdf5-7b4b65be1ceffea0db89d0e7b234201d2229244a.tar.bz2 |
[svn-r10025] Purpose:
New feature.
Description:
Add the scaleoffset internal library filter.
Solution:
Platforms tested:
heping, copper, arabica
Misc. update:
Diffstat (limited to 'src/H5Z.c')
-rw-r--r-- | src/H5Z.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -105,10 +105,14 @@ H5Z_init_interface (void) if (H5Z_register (H5Z_NBIT)<0) HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register nbit filter") #endif /* H5_HAVE_FILTER_NBIT */ +#ifdef H5_HAVE_FILTER_SCALEOFFSET + if (H5Z_register (H5Z_SCALEOFFSET)<0) + HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register scaleoffset filter") +#endif /* H5_HAVE_FILTER_SCALEOFFSET */ -#if (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT) +#if (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT | defined H5_HAVE_FILTER_SCALEOFFSET) done: -#endif /* (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT) */ +#endif /* (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP | defined H5_HAVE_FILTER_NBIT | defined H5_HAVE_FILTER_SCALEOFFSET) */ FUNC_LEAVE_NOAPI(ret_value) } |