summaryrefslogtreecommitdiffstats
path: root/tools/h4toh5/h4toh5main.h
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-08-13 19:07:54 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-08-13 19:07:54 (GMT)
commit156200d908b2ec8a5247feffb8922f48d7794923 (patch)
treef04d168e169d5c35d267900d50eecad049d337a1 /tools/h4toh5/h4toh5main.h
parent9767e654cfc7ccab6d3ff29d8461d4a491c1d260 (diff)
downloadhdf5-156200d908b2ec8a5247feffb8922f48d7794923.zip
hdf5-156200d908b2ec8a5247feffb8922f48d7794923.tar.gz
hdf5-156200d908b2ec8a5247feffb8922f48d7794923.tar.bz2
[svn-r4334]
Purpose: 1) fix the implementation of image according to image specfication 2) fix two bugs of SDS implemention. the first one is to handle the unlimited SDS with the first dimensional size set to 0. the second one is to change the way how HDF5 dataset is written. Description: 1) mapping 24-bit image to 3D arrays instead of 2D compound datatype. 2) previously forgot considering unlimited SDS with the size set to 0. 3) H5P_set_buffer seems not working well for a extremely small size. Solution: 1) see above. 2) add a special case to deal with this. 3) don't use H5Pset_buffer. Platforms tested: RedHat Zoot 6.2
Diffstat (limited to 'tools/h4toh5/h4toh5main.h')
-rw-r--r--tools/h4toh5/h4toh5main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h4toh5/h4toh5main.h b/tools/h4toh5/h4toh5main.h
index 7bfa794..2802caa 100644
--- a/tools/h4toh5/h4toh5main.h
+++ b/tools/h4toh5/h4toh5main.h
@@ -89,7 +89,7 @@ int sds_transattrs(int32, hid_t,int,int);
int sdsdim_to_h5dataset(int32,int32,hid_t,hid_t,int32);
int convert_sdsfillvalue(int32,int32,hid_t,hid_t,int);
uint16 get_SDref(int32,uint16,int32);
-
+int convert_zerosdsdsunlimit(int32,int32,hid_t,hid_t,int);
/*subroutines for h4toh5image.c*/
int Image_h4_to_h5(int32,int32,hid_t,hid_t,int);
int gr_tranattrs(int32, hid_t,int,int);