Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

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

Document Table of Contents

EncodeZfpSet

Populates fields of the ZFP compression structure with input values.

Syntax

IppStatus ippsEncodeZfpSet_32f(int minBits, int maxBits, int maxPrec, int minExp, IppEncodeZfpState_32f* pState);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

minBits

Minimum number of bits for a compressed block; the default value is IppZFPMINBITS.

maxBits

Maximum number of bits for a compressed block; the default value is IppZFPMAXBITS.

maxPrec

Maximum level of precision; the default value is IppZFPMAXPREC.

minExp

Minimum level of exponent; the default value is IppZFPMINEXP.

pState

Pointer to the ZFP compression structure.

Description

This function populates fields of the ZFP compression structure with the corresponding input values. Refer to [ZFP] and associated documentation for more information about the compression parameters.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pState pointer is NULL.

ippStsContexMatchErr

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