Performs the RS encoding operation.
IppStatus ippsRSEncode_8u(const Ipp8u* pMsg, Ipp8u* pCodeWord, const IppsRSEncodeSpec_8u* pRS, Ipp8u* pBuffer);
pMsg |
Pointer to the message to be encoded. |
pCodeWord |
Pointer to the output codeword. |
pRS |
Pointer to the RS encoder context. |
pBuffer |
Pointer to the work buffer. |
This function is declared in the ippdi.h file. The function performs RS encoding that the context pointed by pRS defines for an input message pointed by pMsg and stores the systematic code at the address of pCodeWord.
The work buffer pointed by pBuffer must have size not less than the function ippsRSEncodeGetBufferSize returns.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error condition if the context pointed by pRS is not valid. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.