Introduction to HDF5 
HDF5 User Guide 
Other HDF5 documents and links 
And in this document, the HDF5 Reference Manual  
H5   H5A   H5D   H5E   H5F   H5G   H5I   H5P  
H5R   H5S   H5T   H5Z   Tools   Datatypes  

H5Z: Compression Interface

Compression API Functions

This function enable the user to configure a new compression method for the local environment.
      
     

HDF5 supports compression of raw data by compression methods built into the library or defined by an application. A compression method is associated with a dataset when the dataset is created and is applied independently to each storage chunk of the dataset. The dataset must use the H5D_CHUNKED storage layout.

The HDF5 library does not support compression for contiguous datasets because of the difficulty of implementing random access for partial I/O. Compact dataset compression is not supported because it would not produce significant results.

See The Dataset Interface (H5D) in the HDF5 User's Guide for further information regarding data compression.


Name: H5Zregister
Signature:
herr_t H5Zregister(H5Z_method_t method, const char *name, H5Z_func_t function )
Purpose:
Registers new compression / uncompression function.
Description:
H5Zregister registers a new compression / uncompression function for the compression method specified by the method number, method.

name is used for debugging and may be the null pointer.

function is a user-defined function providing both compression and uncompression; it may be the null pointer.

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

Parameters:
H5Z_method_t method
IN: Number specifying compression method.
const char *name
IN: Name associated with the method number. Used for debugging purposes only.
H5Z_func_t function
IN: Compression / uncompression method.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.

Introduction to HDF5 
HDF5 User Guide 
Other HDF5 documents and links 
And in this document, the HDF5 Reference Manual  
H5   H5A   H5D   H5E   H5F   H5G   H5I   H5P  
H5R   H5S   H5T   H5Z   Tools   Datatypes  

HDF Help Desk
Last modified: 3 July 2002
Describes HDF5 Release 1.5, Unreleased Development Branch