RSEncodeGetBufferSize

Gets the size of a work buffer for the encoding operation.

Syntax

IppStatus ippsRSEncodeGetBufferSize_8u(const IppsRSEncodeSpec_8u* pRS, int* pSize);

Parameters

pRS

Pointer to the RS encoder context.

pSize

Pointer to the size of the work buffer (in bytes).

Description

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.

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.