Visible to Intel only — GUID: GUID-03124A71-20FD-4705-B923-E350BFA24CF6
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. |
Parent topic: Image