Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

EncodeZfpGetCompressedBitSize

Returns the current compressed data size.

Syntax

IppStatus ippsEncodeZfpGetCompressedBitSize_32f(IppEncodeZfpState_32f*
pState
, Ipp64u*
pCompressedBitSize
);
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.
pCompressedBitSize
Pointer to the variable receiving the compressed data size, in bits.
Description
This function returns the current compressed data size in bits. You can call this function during compression or after the compression of your array is finished. Call this function before using
EncodeZfpFlush
to get actual bits size. Otherwise, the function returns size which is rounded (aligned) to an upper byte.
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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804