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

ID 790148
Date 10/31/2024
Public
Document Table of Contents

EncodeZfpInit, EncodeZfpInitLong

Initializes the ZFP compression structure with default values.

Syntax

IppStatus ippsEncodeZfpInit_32f(Ipp8u* pDst, int dstLen, IppEncodeZfpState_32f* pState);

IppStatus ippsEncodeZfpInitLong_32f(Ipp8u* pDst, Ipp64u dstLen, IppEncodeZfpState_32f* pState);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

pDst

Pointer to the destination buffer for compressed data.

dstLen

Length of the destination buffer.

pState

Pointer to the ZFP compression structure.

Description

This function initializes the ZFP compression structure. Its size must be calculated by calling the function EncodeZfpGetStateSize beforehand. Use the EncodeZfpInitLong function to process large 3D floating point arrays.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if any of the pointers is NULL.

ippStsSizeErr

Indicates an error if the parameter dstLen is less than or equal to zero (applies only to the EncodeZfpInit function.