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

ID 790148
Date 3/22/2024
Public
Document Table of Contents

DecodeZfpGetCompressedSize, DecodeZfpGetCompressedSizeLong

Returns the current decompressed data size.

Syntax

IppStatus ippsDecodeZfpGetCompressedSize_32f(IppDecodeZfpState_32f* pState, int* pDecompressedSize);

IppStatus ippsDecodeZfpGetCompressedSizeLong_32f(IppDecodeZfpState_32f* pState, Ipp64u* pDecompressedSize);

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 compression structure.

pDeompressedSize

Pointer to the variable receiving the decompressed data size.

Description

This function returns the current decompressed data size, in bytes. You can call this function during decompression or after the decompression of your array is finished.

Use DecodeZfpGetCompressedSizeLong for large 3D floating point arrays.

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.