RSDecodeBM, RSDecodeEE

DEPRECATED. Performs the RS decoding operation.

Syntax

IppStatus ippsRSDecodeBM_8u(const int* pErasureList, int erasureListLen, Ipp8u* pSrcDstCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);

IppStatus ippsRSDecodeEE_8u(const int* pErasureList, int erasureListLen, Ipp8u* pSrcDstCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);

Include Files

ippdi.h

Domain Dependencies

Headers: ippcore.h

Libraries: ippcore.lib

Parameters

pErasureList

Pointer to the array with the list of erasure locations.

erasureListLen

h Length of the list of erasure locations.

pSrcDstCodeWord

Pointer to the codeword to be decoded.

pRS

Pointer to the RS decoder context.

pBuffer

Pointer to the work buffer.

Description

Functions ippsRSDecodeBM_8u and ippsRSDecodeEE_8u are deprecated. These functions are obsolete and will be removed in a future release. Use the following link for details: http://software.intel.com/sites/products/ipp-deprecated-features-feedback/.

The function performs RS decoding defined by the context pRS for the systematic code in the given codeword and stores the result back at the address of pSrcDstCodeWord. The RS decoders ippsRSDecodeBM and ippsRSDecodeEE implement the Berlekamp-Massey (BM) and Extended Euclidean (EE) decoding algorithms, respectively.

The work buffer pointed by pBuffer must have size not less than the respective function ippsRSDecodeBMGetBufferSize or ippsRSDecodeEEGetBufferSize 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.

ippStsBadArgErr

Indicates an error condition if any element of the array poined by pErasureList is not valid, that is, negative or exceeding the codeLength value specified in the context.

For more complete information about compiler optimizations, see our Optimization Notice.