Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018

iwsVector_Alloc

Syntax

IW_DECL(IppStatus) iwsVector_Alloc(
    IwsVector              *pVector,        
    IwSize                  size,           
    IppDataType             dataType,       
    IwsBorderSize const    *pInMemBorder    
);

Parameters

pVector

Pointer to the IwsVector structure.

size

Vector size.

dataType

Data type of a vector.

channels

Number of image channels.

pInMemBorder

Size of the border around the vector or NULL if there is no border.

Description

This function initializes the vector structure and allocates vector data.

Return Values

ippStsNullPtrErr

At least one of the pointers is NULL.

ippStsDataTypeErr

The dataType value is illegal.

ippStsNoErr

No errors.