summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-05-07 20:56:54 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-05-07 20:56:54 (GMT)
commit7c16aec7e1e7ba08b8845cf148fdc7935e84a211 (patch)
treed9583f35d601ce5dc9736f8b90424930a65dd57a /tools/lib/h5tools.h
parentae6f5891b5794325ee5702fec0da55bafdce1afe (diff)
downloadhdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.zip
hdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.tar.gz
hdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.tar.bz2
[svn-r18743] enhancement 1853:
Install packed-bits feature for h5dump. Allen has installed the feature in the NPOESS feature branch. I ported it back to the v1.8 branch for v1.8.5 release. tools/h5dump/testh5dump.sh.in: Added tests for the packed-bits feature. tools/h5dump/h5dump.c tools/h5dump/h5dump.h Added code to parse and handled the packed-bits request. tools/lib/h5tools.h tools/lib/h5tools_str.c tools/lib/h5tools.c Added code to print packed-bits. tools/testfiles/tpackedbits2.ddl tools/testfiles/tnofilename-with-packed-bits.ddl tools/testfiles/tpackedbits.ddl Expected output files for packed-bits feature. Tested: h5committested the NPOESS branch. Tested in the linux VM machine in my Dove.
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index 7d207ba..8c9769e 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -525,6 +525,11 @@ extern FILE *rawdatastream; /* output stream for raw data */
extern int bin_output; /* binary output */
extern int bin_form; /* binary form */
extern int region_output; /* region output */
+#ifdef H5_HAVE_H5DUMP_PACKED_BITS
+extern int packed_output; /* packed bits output count */
+extern int packed_normalize; /* number of bits to shift right to display normalized */
+extern unsigned int packed_counter; /* counter for which packed bits to display */
+#endif
/* Strings for output */
#define H5_TOOLS_GROUP "GROUP"