diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-09-06 15:15:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-09-06 15:15:50 (GMT) |
commit | 145f1ce9e35414e40abf00c139114f69c5e1322d (patch) | |
tree | b2528c469291939818ff0b296ce132138e12bb8e /tools/h5repack/h5repack_main.c | |
parent | ddbc3c841cc71254243e87ede6dd99c403507914 (diff) | |
download | hdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.zip hdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.tar.gz hdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.tar.bz2 |
[svn-r24104] HDFFV-8345: add User Defined filters to h5repack.
Reviewed in H5T-61
Tested: local linux - cmake and autotools
Diffstat (limited to 'tools/h5repack/h5repack_main.c')
-rw-r--r-- | tools/h5repack/h5repack_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c index ff38068..b5f9d31 100644 --- a/tools/h5repack/h5repack_main.c +++ b/tools/h5repack/h5repack_main.c @@ -219,6 +219,7 @@ static void usage(const char *prog) printf(" FLET, to apply the HDF5 checksum filter\n"); printf(" NBIT, to apply the HDF5 NBIT filter (NBIT compression)\n"); printf(" SOFF, to apply the HDF5 Scale/Offset filter\n"); + printf(" UD, to apply a user defined filter\n"); printf(" NONE, to remove all filters\n"); printf(" <filter parameters> is optional filter parameter information\n"); printf(" GZIP=<deflation level> from 1-9\n"); @@ -229,6 +230,9 @@ static void usage(const char *prog) printf(" NBIT (no parameter)\n"); printf(" SOFF=<scale_factor,scale_type> scale_factor is an integer and scale_type\n"); printf(" is either IN or DS\n"); + printf(" UD=<filter_number,cd_value_count,value_1[,value_2,...,value_N]>\n"); + printf(" required values for filter_number,cd_value_count,value_1\n"); + printf(" optional values for value_2 to value_N\n"); printf(" NONE (no parameter)\n"); printf("\n"); printf(" LAYT - is a string with the format:\n"); @@ -271,6 +275,10 @@ static void usage(const char *prog) printf("\n"); printf(" Add both filters SHUF and GZIP in this order to all datasets\n"); printf("\n"); + printf("6) h5repack -f UD=307,1,9 file1 file2 \n"); + printf("\n"); + printf(" Add bzip2 filter to all datasets\n"); + printf("\n"); } |