RSEncode

Performs the RS encoding operation.

Syntax

IppStatus ippsRSEncode_8u(const Ipp8u* pMsg, Ipp8u* pCodeWord, const IppsRSEncodeSpec_8u* pRS, Ipp8u* pBuffer);

Parameters

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.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.