Visible to Intel only — GUID: GUID-8A0AE2E6-4F0F-45C2-95A8-C4D654BEAA9E
iwiDiv
Syntax
class IwiDivParams: public ::IwiDivParams
{
public:
IW_BASE_PARAMS_CONSTRUCTORS(IwiDivParams, iwiDiv_SetDefaultParams)
IwiDivParams(int _scaleFactor = 0, IppHintAlgorithm _algoMode = ippAlgHintNone, IwiChDescriptor _chDesc = iwiChDesc_None);
};
IW_DECL_CPP(IppStatus) iwiDiv(
const IwiImage &src1Image,
const IwiImage &src2Image,
IwiImage &dstImage,
const IwiDivParams &auxParams = IwiDivParams(),
const IwiTile &tile = IwiTile()
)
Parameters
src1Image |
Reference to the image by which another image is divided. |
src2Image |
Reference to the image to be divided. |
dstImage |
Reference to the resulting image (can be the same as src2Image). |
auxParams |
Reference to the auxiliary parameters structure. |
tile |
Reference to the IwiTile structure for tiling. By default, no tiling is applied. |
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
algoMode |
IppAlgHintNone |
Accuracy mode. |
scaleFactor |
0 |
Scale factor. |
chDesc |
iwiChDesc_None |
Special channels processing mode. |
Description
This function divides one image by another and puts the resulting image to dstImage.
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
ippStsNoErr |
No errors. |
Exception 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 references (except tile) is NULL. |