Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

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.