Developer Reference for Intel® Integrated Performance Primitives
Encodes a 4x4x4 block of 3D floating point data.
IppStatus ippsEncodeZfp444_32f(const Ipp32f* pSrc, int srcStep, int srcPlaneStep, IppEncodeZfpState_32f* pState);
ippdc.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Pointer to the value at the coordinates (0, 0, 0) of the 3D source data block. |
srcStep |
Row step in bytes. |
srcPlaneStep |
Plane step in bytes. |
pState |
Pointer to the ZFP compression structure. |
This function encodes a 3D 4x4x4 block of floating point values. The function adds the encoded data to an internal bit stream. The pointer to the bit stream is initialized by calling the EncodeZfpInit function and is updated automatically.
The 3D source data must be arranged in memory in such a way that for any set of coordinates (x, y, z) within the 4x4x4 block,
pXYZ = (float *)((char *)pSrc + x + y * srcStep + z * srcPlaneStep)
is a pointer to the value at (x, y, z).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if any of the pointers is NULL. |
ippStsContexMatchErr |
Indicates an error if ZFP compression structure data is invalid. |