direct API to standard filters for use with H5DOwrite_chunk?

If I am using the H5DOwrite_chunk function, then I am responsible for filtering the chunks myself. I have found examples that do the equivalent of the gzip compression filter by calling the zlib compress2 function directly. If I want to use the other filters, like shuffle, scale-offset, ect, how do I do this? Do all of these standard filters have functions that were registered with the H5Z API that I can get at and call?

best,

David

Hi David,

You will have to find the shuffle and scale offset code in the HDF5 source yourself. We do not
provide direct APIs for this.

-Barbara

ยทยทยท

-----Original Message-----
From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of David A. Schneider
Sent: Monday, July 27, 2015 4:50 PM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] direct API to standard filters for use with H5DOwrite_chunk?

If I am using the H5DOwrite_chunk function, then I am responsible for filtering the chunks myself. I have found examples that do the equivalent of the gzip compression filter by calling the zlib compress2 function directly. If I want to use the other filters, like shuffle, scale-offset, ect, how do I do this? Do all of these standard filters have functions that were registered with the H5Z API that I can get at and call?

best,

David

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5