iwsVector_InitExternalConst
Syntax
IW_DECL(IppStatus) iwsVector_InitExternalConst(
IwsVector *pVector,
IwSize size,
IppDataType dataType,
const IwsBorderSize *pInMemBorder,
const void *pBuffer
);
Parameters
- pVector
- Pointer to theIwsVectorstructure.
- size
- Vector length, in elements, without the border.
- dataType
- Data type of vector elements.
- pBuffer
- Pointer to the external image buffer.
- pInMemBorder
- Size of the vector border; set toNULLif there is no border.
- pBuffer
- Pointer to the external vector buffer.
Description
This function initializes the vector structure with the external read-only buffer.
Return Values
- ippStsNullPtrErr
- At least one of the pointers isNULL.
- ippStsNoErr
- No errors.