diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-19 21:12:35 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-19 21:12:35 (GMT) |
commit | dca5ad5754071a785c1977c0252e49b7ff3f4721 (patch) | |
tree | ade2fafa0d05d2ce2249c4fd9864432ae092d8f9 /tools/h5repack/testh5repack_main.c | |
parent | 465f9be6e3f818d20c650976a14d7698063cad00 (diff) | |
download | hdf5-dca5ad5754071a785c1977c0252e49b7ff3f4721.zip hdf5-dca5ad5754071a785c1977c0252e49b7ff3f4721.tar.gz hdf5-dca5ad5754071a785c1977c0252e49b7ff3f4721.tar.bz2 |
[svn-r11443] Purpose:
new features
Description:
added support for the scale/offset filter
there is a new filter symbol 'SOFF'
-f SOFF=<scale_factor,scale_type>
scale_factor = integer
scale_type = 'IN' or 'DS'
Solution:
Platforms tested:
Linux
SunOS
Misc. update:
Diffstat (limited to 'tools/h5repack/testh5repack_main.c')
-rw-r--r-- | tools/h5repack/testh5repack_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repack/testh5repack_main.c b/tools/h5repack/testh5repack_main.c index 26dcfc7..ab6c09e 100644 --- a/tools/h5repack/testh5repack_main.c +++ b/tools/h5repack/testh5repack_main.c @@ -1052,12 +1052,13 @@ if (szip_can_encode) { SKIPPED(); #endif + TESTING(" adding scaleoffset filter"); #ifdef H5_HAVE_FILTER_SCALEOFFSET if (h5repack_init (&pack_options, 0)<0) TEST_ERROR; - if (h5repack_addfilter("dset_none:S+O=31",&pack_options)<0) + if (h5repack_addfilter("dset_none:SOFF=31,IN",&pack_options)<0) TEST_ERROR; if (h5repack(FNAME13,FNAME13OUT,&pack_options)<0) TEST_ERROR; |