Developer Reference for Intel® Integrated Performance Primitives 2019

EncodeZfpInit

Initializes the ZFP compression structure with default values.

Syntax

IppStatus ippsEncodeZfpInit_32f(Ipp8u* pDst, int 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.

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.