Intel IPP Integration Wrappers Developer Guide and Reference
ID
751823
Date
1/18/2023
Public
Visible to Intel only — GUID: GUID-769E6EB6-3B90-484A-A0E4-1796AEB1492B
iwiImage_InitExternalConst
Syntax
IW_DECL(IppStatus) iwiImage_InitExternalConst( IwiImage *pImage, IwiSize size, IppDataType dataType, int channels, const IwiBorderSize *pInMemBorder, const void *pBuffer, IwSize step );
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 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 read-only buffer.
Return Values
ippStsNullPtrErr |
At least one of the pointers is NULL. |
ippStsNoErr |
No errors. |
Parent topic: Image