- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am confuse of how to use the RSDecodeBM_8u and RSDecodeEE_8u, what are the pErasesureList and erasureListLength used for?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RSDecodeBM, RSDecodeEE
Performs the RS decoding operation.
Syntax
IppStatus ippsRSDecodeBM_8u(const int* pErasureList, int erasureListLength, Ipp8u* pCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);
IppStatus ippsRSDecodeEE_8u(const int* pErasureList, int erasureListLength, Ipp8u* pCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);
Parameters
pErasureList Pointer to the array with the list of erasure locations.
erasureListLengt h Length of the list of erasure locations.
pCodeWord Pointer to the codeword to be decoded.
pRS pBufferPointer to the work buffer.
pBuffer Pointer to the RS decoder context.
Description
This function is declared in the ippdi.h file. 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 pCodeWord. 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.
Indicates an error condition if any of the specified pointers is NULL.
ippStsNullPtrErr Indicates an error condition if the context pointed by pRS is not valid.
ippStsContextMatchErr 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.
Pointer to the array with the list of erasure locations.Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After doing some search, I know what Erasure means to RS decode, however, can we use these functions without ErasureList? When I trying to pass NULL and 0 for the first parameter, the return value is ippStsSizeErr.
Is there anywhere I can find more detailed document?
Thanks.
Did not you have a chance to look at IPP documentation (volume 1, signal processingmanual) ?
RSDecodeBM, RSDecodeEE
Performs the RS decoding operation.
Syntax
IppStatus ippsRSDecodeBM_8u(const int* pErasureList, int erasureListLength, Ipp8u* pCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);
IppStatus ippsRSDecodeEE_8u(const int* pErasureList, int erasureListLength, Ipp8u* pCodeWord, const IppsRSDecodeSpec_8u* pRS, Ipp8u* pBuffer);
Parameters
pErasureList Pointer to the array with the list of erasure locations.
erasureListLengt h Length of the list of erasure locations.
pCodeWord Pointer to the codeword to be decoded.
pRS pBufferPointer to the work buffer.
pBuffer Pointer to the RS decoder context.
Description
This function is declared in the ippdi.h file. 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 pCodeWord. 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.
Indicates an error condition if any of the specified pointers is NULL.
ippStsNullPtrErr Indicates an error condition if the context pointed by pRS is not valid.
ippStsContextMatchErr 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.
Pointer to the array with the list of erasure locations.Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am confuse of how to use the RSDecodeBM_8u and RSDecodeEE_8u, what are the pErasesureList and erasureListLength used for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi turks,
Do you have any suggestion? You can contact me at mountainyu@gmail.com
Thanks!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page