summaryrefslogtreecommitdiffstats
path: root/src/H5Z.c
diff options
context:
space:
mode:
authorXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-02-17 03:03:50 (GMT)
committerXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-02-17 03:03:50 (GMT)
commit7b4b65be1ceffea0db89d0e7b234201d2229244a (patch)
treef38e285d19a169d1e5920aa02cefaa005f7f8259 /src/H5Z.c
parent92173d4496ef45c01a25e74ee95d6274085ac5bf (diff)
downloadhdf5-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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index b6e66a2..a243552 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -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)
}