Visible to Intel only — GUID: GUID-9A098E3B-80BD-4242-8999-E4A6B0B37896
iwiImage_InitExternal
Syntax
IW_DECL(IppStatus) iwiImage_InitExternal(
IwiImage *pImage,
IwiSize size,
IppDataType dataType,
int channels,
const IwiBorderSize *pInMemBorder,
void *pBuffer,
IwSize step
);
Parameters
- pImage
-
Pointer to the IwiImage structure.
- size
-
Image size, in pixels.
- dataType
-
Type of image pixels.
- channels
-
Number of image channels.
- pBuffer
-
Pointer to the external image buffer.
- pInMemBorder
-
Size of the image border; set to NULL if there is no border.
- pBuffer
-
Pointer to the external image buffer.
- step
-
Distance, in bytes, between the starting points of consecutive lines in the external buffer.
Description
This function initializes the image structure with the external buffer.
Return Values
ippStsNullPtrErr |
At least one of the pointers is NULL. |
ippStsNoErr |
No errors. |
Parent topic: Image