Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

EncodeZfpGetCompressedSize
,
EncodeZfpGetCompressedSizeLong

Returns the current compressed data size.

Syntax

IppStatus ippsEncodeZfpGetCompressedSize_32f(IppEncodeZfpState_32f*
pState
, int*
pCompressedSize
);
IppStatus ippsEncodeZfpGetCompressedSizeLong_32f(IppEncodeZfpState_32f*
pState
, Ipp64u*
pCompressedSize
);
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.
pCompressedSize
Pointer to the variable receiving the compressed data size.
Description
This function returns the current compressed data size, in bytes. You can call this function during compression or after the compression of your array is finished.
Use
EncodeZfpGetCompressedSizeLong
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 compression structure data is invalid.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.