diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-05-15 05:40:00 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-05-15 05:40:00 (GMT) |
commit | 174cc7b19e078a41d97ed42e396127f1f76b889f (patch) | |
tree | 292e6f8aaddfa3ae8bffbe1dd65eccd8f04d9a7f /tools/lib/h5tools.h | |
parent | b8f131dc78aba5ce6998401bc6de2b4a69b44412 (diff) | |
download | hdf5-174cc7b19e078a41d97ed42e396127f1f76b889f.zip hdf5-174cc7b19e078a41d97ed42e396127f1f76b889f.tar.gz hdf5-174cc7b19e078a41d97ed42e396127f1f76b889f.tar.bz2 |
[svn-r18821] Packed bits codes tidy up. Removed codes that are not needed
any more. Changed algorithm of creating mask which now sits
at the least significant bits. Display data by down shift
first and then mask it for display. Changed the variable
names to reflect the new purpose better.
Tested: AlbertPax (linux)
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r-- | tools/lib/h5tools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h index b44948a..2c8ec96 100644 --- a/tools/lib/h5tools.h +++ b/tools/lib/h5tools.h @@ -527,8 +527,8 @@ extern "C" { #ifdef H5_HAVE_H5DUMP_PACKED_BITS H5TOOLS_DLLVAR int packed_bits_num; /* number of packed bits to display */ -H5TOOLS_DLLVAR int packed_normalize; /* number of bits to shift right to display normalized */ -H5TOOLS_DLLVAR unsigned int packed_counter; /* counter for which packed bits to display */ +H5TOOLS_DLLVAR int packed_data_offset; /* offset of packed bits to display */ +H5TOOLS_DLLVAR unsigned int packed_data_mask; /* mask in which packed bits to display */ #endif H5TOOLS_DLLVAR FILE *rawdatastream; /* output stream for raw data */ |