API Quick Reference Guide

  • 2020
  • 09/30/2019
  • Public Content
Contents

iwiImage_Alloc

Syntax

IW_DECL(IppStatus) iwiImage_Alloc( IwiImage *pImage, IwiSize size, IppDataType dataType, int channels, const IwiBorderSize *pInMemBorder );
Parameters
pImage
Pointer to the
IwiImage
structure.
size
Image size, in pixels, without the border.
dataType
Type of image pixels.
channels
Number of image channels.
pInMemBorder
Size of the border around the image or
NULL
if there is no border.
Description
This function initializes the image structure and allocates image data.
Return Values
ippStsNullPtrErr
At least one of the pointers is
NULL
.
ippStsDataTypeErr
The
dataType
value is illegal.
ippStsNumChannelsErr
The
channels
value is illegal.
ippStsNoErr
No errors.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.