summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-10 18:33:20 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-10 18:33:20 (GMT)
commit192c316dd5de41d9de2b8489406abe94bffccb7b (patch)
treef24ee502aab010bd3e3e373eaeda07a0f4ea9d0c /tools/h5repack/h5repack.h
parentf1031738ef0f945a3f1d2b8f90363ee657220e17 (diff)
downloadhdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.zip
hdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.tar.gz
hdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.tar.bz2
[svn-r8176] Purpose:
new feature, bug fix, changed function Description: 1) implemented the option that says if the dataset is too small , do not compress it 2) bug fix in the SZIP checking . only apply szip to atomic datatypes 3) made the apply_filters function more compact Solution: Platforms tested: linux AIX solaris Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r--tools/h5repack/h5repack.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h
index eb71fec..5bda25c 100644
--- a/tools/h5repack/h5repack.h
+++ b/tools/h5repack/h5repack.h
@@ -180,10 +180,13 @@ int filter_this(const char* name,
pack_opt_t *options,
pack_info_t *pack); /* info about object to filter */
-int apply_filters(hid_t dcpl_id,
- size_t size, /* size of datatype in bytes */
+int apply_filters(const char* name, /* object name from traverse list */
+ int rank, /* rank of dataset */
+ hsize_t *dims, /* dimensions of dataset */
+ hid_t dcpl_id, /* dataset creation property list */
+ hid_t type_id, /* datatype */
pack_opt_t *options, /* repack options */
- pack_info_t *pack); /* info about object to filter */
+ pack_info_t *obj); /* info about object to filter */
int has_filter(hid_t dcpl_id,
H5Z_filter_t filtnin);
@@ -193,10 +196,10 @@ int check_szip_params( unsigned bits_per_pixel,
unsigned pixels_per_scanline,
hsize_t image_pixels);
-int check_szip(int rank, /* chunk rank */
+int check_szip(hid_t type_id, /* dataset datatype */
+ int rank, /* chunk rank */
hsize_t *dims, /* chunk dims */
- size_t size, /* size of datatype in bytes */
- unsigned szip_options_mask,
+ unsigned szip_options_mask /*IN*/,
unsigned *szip_pixels_per_block /*IN,OUT*/,
pack_opt_t *options);