Visible to Intel only — GUID: GUID-94816A9D-31BA-411F-B9FA-748B9ECBBBC1
iwiDiv
Syntax
typedef struct _IwiDivParams
{
IppHintAlgorithm algoMode;
int scaleFactor;
IwiChDescriptor chDesc;
} IwiDivParams;
static IW_INLINE void iwiDiv_SetDefaultParams(
IwiDivParams *pParams
)
IW_DECL(IppStatus) iwiDiv(
const IwiImage *pSrc1Image,
const IwiImage *pSrc2Image,
IwiImage *pDstImage,
const IwiDivParams *pAuxParams,
const IwiTile *pTile
);
Parameters
pSrc1Image |
Pointer to the image by which another image is divided. |
pSrc2Image |
Pointer to the image to be divided. |
pDstImage |
Pointer to the resulting image (can be the same as pSrc2Image). |
pAuxParams |
Pointer to the auxiliary parameters structure. If NULL, default parameters are used. |
pTile |
Pointer to the IwiTile structure for tiling. If NULL, the whole image is processed. |
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
algoMode |
IppAlgHintNone |
Accuracy mode. |
scaleFactor |
0 |
Scale factor. |
chDesc |
iwiChDesc_None |
IwiChDescriptor value. |
Description
This function divides one image by another and puts the resulting image to pDstImage.
This function supports the following features:
Feature | Support |
---|---|
In-place mode | Yes |
64-bit sizes | Yes |
Internal threading | No |
Manual tiling | Yes |
IwsTile simple tiling | Yes |
IwsTile pipeline tiling | Yes |
Return Values
ippStsDataTypeErr |
The dataType value is illegal. |
ippStsNumChannelsErr |
The value for channels is illegal. |
ippStsSizeErr |
Values for size fields are illegal. |
ippStsNullPtrErr |
At least one of the pointers (except pTile) is NULL. |
ippStsNoErr |
No errors. |