Gets the size of a work buffer for the encoding operation.
IppStatus ippsRSEncodeGetBufferSize_8u(const IppsRSEncodeSpec_8u* pRS, int* pSize);
pRS |
Pointer to the RS encoder 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 encoder that the context pointed by pRS defines.
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.