summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index 4bd477a..3359b52 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1267,6 +1267,21 @@ done:
* Purpose: Sets scaleoffset filter for a dataset creation property list
* and user-supplied parameters
*
+ * Parameters: scale_factor:
+ for integer datatype,
+ this parameter will be
+ minimum-bits, if this value is set to 0,
+ scaleoffset filter will calculate the minimum-bits.
+
+ For floating-point datatype,
+ For variable-minimum-bits method, this will be
+ the decimal precision of the filter,
+ For fixed-minimum-bits method, this will be
+ the minimum-bit of the filter.
+ scale_type: 0 for floating-point variable-minimum-bits,
+ 1 for floating-point fixed-minimum-bits,
+ other values, for integer datatype
+
* Return: Non-negative on success/Negative on failure
*
* Programmer: Xiaowen Wu