diff options
Diffstat (limited to 'src/H5Zpublic.h')
-rw-r--r-- | src/H5Zpublic.h | 10 |
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) |