summaryrefslogtreecommitdiffstats
path: root/src/H5Zpublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Zpublic.h')
-rw-r--r--src/H5Zpublic.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/H5Zpublic.h b/src/H5Zpublic.h
index 6c238fe..df02af8 100644
--- a/src/H5Zpublic.h
+++ b/src/H5Zpublic.h
@@ -74,8 +74,17 @@ typedef int H5Z_filter_t;
#define H5_SZIP_NN_OPTION_MASK 32
#define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
-/* Total number of parameters for the shuffle filter, private */
-#define H5Z_SHUFFLE_TOTAL_NPARMS 1
+/* Total number of parameters for the shuffle filter */
+#define H5Z_SHUFFLE_TOTAL_NPARMS 1
+
+/* Macros for the szip filter */
+#define H5Z_SZIP_USER_NPARMS 2 /* Number of parameters that users can set */
+#define H5Z_SZIP_TOTAL_NPARMS 4 /* Total number of parameters for filter */
+#define H5Z_SZIP_PARM_MASK 0 /* "User" parameter for option mask */
+#define H5Z_SZIP_PARM_PPB 1 /* "User" parameter for pixels-per-block */
+#define H5Z_SZIP_PARM_BPP 2 /* "Local" parameter for bits-per-pixel */
+#define H5Z_SZIP_PARM_PPS 3 /* "Local" parameter for pixels-per-scanline */
+
/* Special parameters for ScaleOffset filter*/