[svn-r20677] Merge packed bits option from 1.8 branch to trunk. CMake only. Autotools merge to come.

Tested: local Linux
This commit is contained in:
Allen Byrne
2011-04-29 13:38:41 -05:00
parent 170e7e53a5
commit 87994982f9
65 changed files with 4814 additions and 15 deletions

View File

@@ -0,0 +1,53 @@
#############################
Expected output for 'h5dump -d /DU08BITS -M 0,2,2,2,4,2,6,2 packedbits.h5'
#############################
HDF5 "packedbits.h5" {
DATASET "/DU08BITS" {
DATATYPE H5T_STD_U8LE
DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) }
PACKED_BITS OFFSET=0 LENGTH=2
DATA {
(0,0): 3, 2, 0, 0, 0, 0, 0, 0,
(1,0): 2, 0, 0, 0, 0, 0, 0, 0,
(2,0): 0, 0, 0, 0, 0, 0, 0, 0,
(3,0): 0, 0, 0, 0, 0, 0, 0, 0,
(4,0): 0, 0, 0, 0, 0, 0, 0, 0,
(5,0): 0, 0, 0, 0, 0, 0, 0, 0,
(6,0): 0, 0, 0, 0, 0, 0, 0, 0,
(7,0): 0, 0, 0, 0, 0, 0, 0, 0
}
PACKED_BITS OFFSET=2 LENGTH=2
DATA {
(0,0): 3, 3, 3, 2, 0, 0, 0, 0,
(1,0): 3, 3, 2, 0, 0, 0, 0, 0,
(2,0): 3, 2, 0, 0, 0, 0, 0, 0,
(3,0): 2, 0, 0, 0, 0, 0, 0, 0,
(4,0): 0, 0, 0, 0, 0, 0, 0, 0,
(5,0): 0, 0, 0, 0, 0, 0, 0, 0,
(6,0): 0, 0, 0, 0, 0, 0, 0, 0,
(7,0): 0, 0, 0, 0, 0, 0, 0, 0
}
PACKED_BITS OFFSET=4 LENGTH=2
DATA {
(0,0): 3, 3, 3, 3, 3, 2, 0, 0,
(1,0): 3, 3, 3, 3, 2, 0, 0, 0,
(2,0): 3, 3, 3, 2, 0, 0, 0, 0,
(3,0): 3, 3, 2, 0, 0, 0, 0, 0,
(4,0): 3, 2, 0, 0, 0, 0, 0, 0,
(5,0): 2, 0, 0, 0,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