Developer Reference for Intel® Integrated Performance Primitives 2018
Computes the CRC24 checksum for the source data buffer.
IppStatus ippsCRC16_8u(Ipp8u* pSrc, int len, Ipp32u* pCRC16);
ippe.h
ippcore.h
ippcore.lib
pSrc |
Pointer to the source data buffer. |
len |
Number of elements in the source data buffer. |
pCRC16 |
Pointer to the checksum value. |
This function computes the checksum for srcLen elements of the source data buffer pSrc and stores it in the pCRC16 respectively.
This function can be used to compute the accumulated value of the checksum for multiple buffers in the data stream by specifying as an input parameter the checksum value obtained in the preceding function call.
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. |