summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-03-09 23:47:48 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-03-09 23:47:48 (GMT)
commitf351e2724a2c680218acf83892bb65a263208313 (patch)
treea2f9fccc0d89a4e4f18bcfa743fbf031752039a1 /tools
parent1a426273b9ec1a273525ce2a34650c352bf9d461 (diff)
downloadhdf5-f351e2724a2c680218acf83892bb65a263208313.zip
hdf5-f351e2724a2c680218acf83892bb65a263208313.tar.gz
hdf5-f351e2724a2c680218acf83892bb65a263208313.tar.bz2
[svn-r3596]
Purpose: a bug fix Description: fix a few constants at this header file for fitting image spec. Platforms tested: eirene,arabica
Diffstat (limited to 'tools')
-rw-r--r--tools/h4toh5util.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/h4toh5util.h b/tools/h4toh5util.h
index 5772325..7e3def7 100644
--- a/tools/h4toh5util.h
+++ b/tools/h4toh5util.h
@@ -56,12 +56,13 @@ converter.*/
#define HDF4_OBJECT_TYPE "HDF4_OBJECT_TYPE"
#define HDF4_REF_NUM "HDF4_REF_NUM"
#define HDF4_VGROUP_CLASS "HDF4_VGROUP_CLASS"
-#define HDF4_IMAGE_CLASS "HDF4_IMAGE_CLASS"
-#define HDF4_IMAGE_SUBCLASS "HDF4_IMAGE_SUBCLASS"
-#define HDF4_PALETTE_CLASS "HDF4_PALETTE_CLASS"
+#define HDF4_IMAGE_CLASS "CLASS"
+#define HDF4_IMAGE_SUBCLASS "IMAGE_SUBCLASS"
+#define HDF4_PALETTE_CLASS "CLASS"
#define HDF4_PALETTE_TYPE "PAL_TYPE"
#define PAL_TYPE "STANDARD8"
-
+#define PAL_COLORMODEL "PAL_COLORMODEL"
+#define RGB "RGB"
/* 3. reserved name for HDF5 object name when meeting with name clashing. */
#define HDF4_VGROUP "HDF4_VGROUP"
@@ -129,7 +130,12 @@ converter.*/
#define MAXREF_LENGTH 5
/*considering the string size of HDF4_DIMGROUP. we add this into 276.*/
#define MAX_DIM_NAME 276
-
+#define MAX_PAL_NAME 32
+/*11. adding a specified vdata class name to deal with the situation when
+independent vdata is hdf chunking table _HDF_CHK_TBL_CLASS, if it becomes
+public constant for hdf lib, this constant can be released.*/
+#define _HDF_CHK_TBL_CLASS "_HDF_CHK_TBL_"
+
extern int32 estnum_vg;
extern int32 estnum_vd;
extern int32 num_sds;