From dba8c269a50575bce01b23bfa1fd70c3a6a7e301 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Fri, 25 Jan 2002 11:21:37 -0500 Subject: [svn-r4863] ./hdf5-devel/src/H5Tpkg.h More optimizing for byte order conversion. Mostly just making code easier to follow by simplifying Duff's device coding of the loops. I also split the conversion function into two functions with different names so output from H5T debugging indicates whether the optimized or unoptimized case was invoked. 2002-01-25 10:48:34 Robb Matzke *: Added prototype for H5T_conv_order_opt(). --- src/H5Tpkg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h index f815705..1ffaa4f 100644 --- a/src/H5Tpkg.h +++ b/src/H5Tpkg.h @@ -227,6 +227,11 @@ __DLL__ herr_t H5T_conv_order(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts, size_t buf_stride, size_t bkg_stride, void *_buf, void *bkg, hid_t dset_xfer_plist); +__DLL__ herr_t H5T_conv_order_opt(hid_t src_id, hid_t dst_id, + H5T_cdata_t *cdata, hsize_t nelmts, + size_t buf_stride, size_t bkg_stride, + void *_buf, void *bkg, + hid_t dset_xfer_plist); __DLL__ herr_t H5T_conv_struct(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts, size_t buf_stride, size_t bkg_stride, void *_buf, void *bkg, -- cgit v0.12