summaryrefslogtreecommitdiffstats
path: root/src/H5Zpublic.h
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-08-31 22:10:54 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-08-31 22:10:54 (GMT)
commit71e345cd4ecad162854a8f3621693f6ef9bac641 (patch)
tree0054dfe795a48e00837bb46c90617a7e2d1c204c /src/H5Zpublic.h
parent9d7b2503713caa9a44385f528831a084bd356247 (diff)
downloadhdf5-71e345cd4ecad162854a8f3621693f6ef9bac641.zip
hdf5-71e345cd4ecad162854a8f3621693f6ef9bac641.tar.gz
hdf5-71e345cd4ecad162854a8f3621693f6ef9bac641.tar.bz2
[svn-r11326] Purpose:
Updating scale offset filter. Description: Using enum to represent scale_offset type. Change the order of parameters of H5Pset_scaleoffset. Solution: Platforms tested: sol 2.9, Liunx 2.4, AIX 5.1 Misc. update:
Diffstat (limited to 'src/H5Zpublic.h')
-rw-r--r--src/H5Zpublic.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5Zpublic.h b/src/H5Zpublic.h
index 38134f3..c6fd426 100644
--- a/src/H5Zpublic.h
+++ b/src/H5Zpublic.h
@@ -61,10 +61,12 @@ typedef int H5Z_filter_t;
#define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
/* Special parameters for ScaleOffset filter*/
-#define H5_SO_FLOAT_DSCALE 0
-#define H5_SO_FLOAT_ESCALE 1
-#define H5_SO_INT 2
-#define H5_SO_INT_MINIMUMBITS_DEFAULT 0
+#define H5_SO_INT_MINBITS_DEFAULT 0
+typedef enum H5_SO_scale_type {
+ H5_SO_FLOAT_DSCALE = 0,
+ H5_SO_FLOAT_ESCALE = 1,
+ H5_SO_INT = 2
+} H5_SO_scale_type;
/* Current version of the H5Z_class_t struct */
#define H5Z_CLASS_T_VERS (1)