diff --git a/doc/html/RM_H5Z.html b/doc/html/RM_H5Z.html index 9d0f93c28f..c57dcdfcbc 100644 --- a/doc/html/RM_H5Z.html +++ b/doc/html/RM_H5Z.html @@ -103,6 +103,38 @@ data compression.

The statistics associated with a method number are not reset by this function; they accumulate over the life of the library. + +

New filters are defined in two phases. Before a filter can be + linked into the application with H5Zregister, + H5Z_func_t must first be defined as follows: + +

+ typedef size_t (*H5Z_func_t) + (unsigned int flags, + size_t cd_nelmts, + const unsigned int cd_values[], + size_t nbytes, + size_t *buf_size, + void **buf) + + +

The parameters flags, cd_nelmts, + and cd_values are the same as for the + H5Pset_filter() function. + The additional flag H5Z_FLAG_REVERSE is set when + the filter is called as part of the input pipeline. + The parameter *buf points to the input buffer + which has a total size of *buf_size bytes, + nbytes of which are valid data. +

The filter should perform the transformation in place if + possible and return the number of valid bytes or zero for + failure. If the transformation cannot be done in place, + then the filter should allocate a new buffer with + malloc() and assign it to *buf, + assigning the allocated size of that buffer to + *buf_size. + The old buffer should be freed by calling free(). +

Parameters:
H5Z_method_t method @@ -159,7 +191,7 @@ H5Z   HDF Help Desk
-Last modified: 3 July 2002 +Last modified: 11 February 2003
Describes HDF5 Release 1.5, Unreleased Development Branch