Gets size of work buffer for the decoding operation.
IppStatus ippsRSDecodeBMGetBufferSize_8u(const IppsRSDecodeSpec_8u* pRS, int* pSize);
IppStatus ippsRSDecodeEEGetBufferSize_8u(const IppsRSDecodeSpec_8u* pRS, int* pSize);
pRS |
Pointer to the RS decoder context. |
pSize |
Pointer to the size of the work buffer (in bytes). |
This function is declared in the ippdi.h file. The function computes the size of a buffer to be allocated by the application and used in future as the work buffer for the RS decoder that the context pointed by pRS defines. The functions ippsRSDecodeBMGetBufferSizeand ippsRSDecodeEEGetBufferSize compute the size of the work buffer for the Berlekamp-Massey (BM) and Extended Euclidean (EE) decoding algorithms, respectively.
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.