diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2001-02-16 03:36:35 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2001-02-16 03:36:35 (GMT) |
commit | c1d6c01959a9b84570647bf06fa9250b0bcf25e5 (patch) | |
tree | f36ef452c633a3911636af72a29352dea754579d /tools/h4toh5util.h | |
parent | 5dc419551e3677f6b417ade268da3ee380245b75 (diff) | |
download | hdf5-c1d6c01959a9b84570647bf06fa9250b0bcf25e5.zip hdf5-c1d6c01959a9b84570647bf06fa9250b0bcf25e5.tar.gz hdf5-c1d6c01959a9b84570647bf06fa9250b0bcf25e5.tar.bz2 |
[svn-r3416]
Purpose:
bug fix
Description:
update a few constant
Solution:
Platforms tested:
eirene and arabica
Diffstat (limited to 'tools/h4toh5util.h')
-rw-r--r-- | tools/h4toh5util.h | 16 |
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; |