Visible to Intel only — GUID: GUID-A16E9F5C-A35E-4A70-9228-15E6E0B506D5
Visible to Intel only — GUID: GUID-A16E9F5C-A35E-4A70-9228-15E6E0B506D5
CRC32_BZ2
Computes the CRC32 checksum for the source data buffer.
Syntax
IppStatus ippsCRC32_BZ2_8u(const Ipp8u* pSrc, int srcLen, Ipp32u* pCRC32);
Include Files
ippdc.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
pSrc |
Pointer to the source data buffer. |
srcLen |
Number of elements in the source data buffer. |
pCRC32 |
Pointer to the accumulated checksum value. |
Description
This function computes the checksum for srcLen elements of the source data buffer pSrc and stores it in the pCRC32. The checksum is computed using the CRC32 direct algorithm that is specific for the bzip2 coding.
You can use this function to compute the accumulated value of the checksum for multiple buffers by specifying as an input parameter the checksum value obtained in the preceding function call.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pSrc pointer is NULL. |
ippStsSizeErr |
Indicates an error if the length of the source vector is less than or equal to 0. |