Visible to Intel only — GUID: GUID-9EF1FD17-8182-493D-8B48-E1050A3C5F97
iwiAddC
Syntax
class IwiAddCParams: public ::IwiAddCParams
{
public:
IW_BASE_PARAMS_CONSTRUCTORS(IwiAddCParams, iwiAddC_SetDefaultParams)
IwiAddCParams(int _scaleFactor = 0, IwiChDescriptor _chDesc = iwiChDesc_None);
};
IW_DECL_CPP(IppStatus) iwiAddC(
IwValueFloat values,
const IwiImage &srcImage,
IwiImage &dstImage,
const IwiAddCParams &auxParams = IwiAddCParams(),
const IwiTile &tile = IwiTile()
Parameters
values |
Reference to the array containing values to add: one element for each channel. |
srcImage |
Reference to the source image. |
dstImage |
Reference to the resulting image (can be the same as srcImage). |
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 |
---|---|---|
scaleFactor |
0 |
Scale factor. |
chDesc |
iwiChDesc_None |
Special channels processing mode. |
Description
This function adds a constant to an image 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. |