| 1 |
/* |
| 2 |
* LZ4 HDF5 filter |
| 3 |
* |
| 4 |
* Header File |
| 5 |
* |
| 6 |
* Filter Options |
| 7 |
* -------------- |
| 8 |
* block_size (option slot 0) : interger (optional) |
| 9 |
* What block size to use. Default is 0, |
| 10 |
* for which lz4 will pick a block size. |
| 11 |
* number_of_threads (option slot 1) : Not currently implemented |
| 12 |
* |
| 13 |
* The compressed format of the data is described in |
| 14 |
* http://www.hdfgroup.org/services/filters/HDF5_LZ4.pdf. |
| 15 |
* |
| 16 |
*/ |
| 17 |
|
| 18 |
|
| 19 |
#ifndef LZ4_H5FILTER_H |
| 20 |
#define LZ4_H5FILTER_H |
| 21 |
|
| 22 |
#define H5Z_class_t_vers 2 |
| 23 |
#include "hdf5.h" |
| 24 |
|
| 25 |
#define H5Z_FILTER_LZ4 32004 |
| 26 |
|
| 27 |
|
| 28 |
H5_DLLVAR const H5Z_class2_t H5Z_LZ4[1]; |
| 29 |
|
| 30 |
/* ---- lz4_register_h5filter ---- |
| 31 |
* |
| 32 |
* Register the LZ4 HDF5 filter within the HDF5 library. |
| 33 |
* |
| 34 |
* Call this before using the bitshuffle HDF5 filter from C unless |
| 35 |
* using dynamically loaded filters. |
| 36 |
* |
| 37 |
*/ |
| 38 |
int lz4_register_h5filter(void); |
| 39 |
|
| 40 |
|
| 41 |
#endif // LZ4_H5FILTER_H |