ddn.lib.hdf5.h5z
HDF5 Filter Binding
This module provides D bindings for HDF5 filter operations (H5Z API).
License
Types 11
Filter identifier type
Filter identifiers
Filter configuration flags
SZIP options
Scale-offset type
Filter callback return values.
Filter callback function type.
Called during filter operations to allow application intervention.
Parameters
filter | Filter identifier |
buf | Data buffer |
buf_size | Size of data buffer |
op_data | User-supplied data |
Returns
Filter "can apply" callback function type.
Called before filter is applied to check if it can be used.
Parameters
dcpl_id | Dataset creation property list identifier |
type_id | Datatype identifier |
space_id | Dataspace identifier |
Returns
Filter "set local" callback function type.
Called to set filter parameters for a specific dataset.
Parameters
dcpl_id | Dataset creation property list identifier |
type_id | Datatype identifier |
space_id | Dataspace identifier |
Returns
Filter function type for the actual filtering operation.
Parameters
flags | Bitfield of filter flags |
cd_nelmts | Number of elements in cd_values |
cd_values | Client data values for the filter |
nbytes | Number of valid bytes in buf |
buf_size | Total size of buf |
buf | Pointer to pointer to buffer (may be reallocated) |
Returns
Filter class structure (version 2).
Used to register custom filters with H5Zregister().
int version_Version of this struct (use H5ZCLASST_VERS)H5Z_filter_t idFilter identifier (use values >= H5ZFILTERRESERVED)uint encoder_presentWhether encoder is availableuint decoder_presentWhether decoder is availableconst(char) * nameFilter name for debuggingH5Z_can_apply_func_t can_apply"Can apply" callback (can be NULL)H5Z_set_local_func_t set_local"Set local" callback (can be NULL)H5Z_func_t filterFilter function (required)Functions 4
Variables 4
H5Z_FILTER_ALL = 0Special filter value to operate on all filters
H5Z_CLASS_T_VERS = 2Version number for H5Z_class2_t structure
H5Z_FLAG_REVERSE = 0x0100Flag indicating filter is applied in reverse direction (decompression)
H5Z_FLAG_OPTIONAL = 0x0001Flag indicating filter is optional