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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804