diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2005-01-06 19:04:15 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2005-01-06 19:04:15 (GMT) |
commit | ad633eafcc9f1961bcd56d0508263caf9931b3b0 (patch) | |
tree | b99b65a80700e9a982bf2fc76f636bd9aefae960 /src/H5Z.c | |
parent | 48822308a7e5f25f203c99e3da13dac585b90b02 (diff) | |
download | hdf5-ad633eafcc9f1961bcd56d0508263caf9931b3b0.zip hdf5-ad633eafcc9f1961bcd56d0508263caf9931b3b0.tar.gz hdf5-ad633eafcc9f1961bcd56d0508263caf9931b3b0.tar.bz2 |
[svn-r9758] Purpose:
Adding framework of N-bit filter
Description:
N-bit filter is required for NetCDF project.
To add N-bit filter, configure.in configure, Makefile.in under src and other
filter-related source code needs to be updated.
Currently, N-bit tests are turned off from the library. So the change will affect daily test.
Solution:
Platforms tested:
sol 2.7, linux 2.4, aix 5.1
Misc. update:
Diffstat (limited to 'src/H5Z.c')
-rw-r--r-- | src/H5Z.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -104,10 +104,14 @@ H5Z_init_interface (void) if (H5Z_register (H5Z_SZIP)<0) HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register szip filter") #endif /* H5_HAVE_FILTER_SZIP */ +#ifdef H5_HAVE_FILTER_NBIT + if (H5Z_register (H5Z_NBIT)<0) + HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register nbit filter") +#endif /* 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) +#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) done: -#endif /* (defined H5_HAVE_FILTER_DEFLATE | defined H5_HAVE_FILTER_FLETCHER32 | defined H5_HAVE_FILTER_SHUFFLE | defined H5_HAVE_FILTER_SZIP) */ +#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) */ FUNC_LEAVE_NOAPI(ret_value) } |