Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

DecodeZfp444

Decodes a 4x4x4 block of 3D floating point data.

Syntax

IppStatus ippsDecodeZfp444_32f(IppDecodeZfpState_32f* pState, Ipp32f* pDst, int dstStep, int dstPlaneStep);

Include Files

ippdc.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pState

Pointer to the ZFP decompression structure.

pDst

Pointer to the value at the coordinates (0, 0, 0) of the 3D destination buffer.

dstStep

Row step in bytes.

dstPlaneStep

Plane step in bytes.

Description

This function decodes a 4x4x4 block of 3D floating point data. The source data pointer is initialized by calling DecodeZfpInit and is updated automatically.

The function arranges the decompressed 3D data in the destination buffer in such a way that for any set of coordinates (x, y, z) within the 4x4x4 block,

pXYZ = (float *)((char *)pDst + x + y * dstStep + z * dstPlaneStep)

is a pointer to the value at (x, y, z).

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if any of the pointers is NULL.

ippStsContexMatchErr

Indicates an error if the ZFP decompression structure data is invalid.