API Quick Reference Guide

  • 2020
  • 09/30/2019
  • Public Content
Contents

iwiSet

Syntax
class IwiSetParams: public ::IwiSetParams { public: IW_BASE_PARAMS_CONSTRUCTORS(IwiSetParams, iwiSet_SetDefaultParams) IwiSetParams() {} };
IW_DECL_CPP(IppStatus) iwiSet( IwValue values, IwiImage &dstImage, const IwiImage &maskImage = IwiImage(), const IwiSetParams &auxParams = IwiSetParams(), const IwiTile &tile = IwiTile() );
Parameters
value
Values to set to image channels.
dstImage
Reference to the destination image.
maskImage
Reference to the mask image.
auxParams
Reference to the auxiliary parameters structure.
tile
Reference to the
IwiTile
object for tiling. By default, no tiling is used.
Description
This function sets image channels to the specified values with masking.
If the mask image is empty, the function performs regular set operation. Otherwise, the function sets image pixel values only if the corresponding values of the mask image pixels are non-zero.
Return Values
ippStsNoErr
No errors.
Exception Values
ippStsDataTypeErr
The
dataType
value is illegal.
ippStsNumChannelsErr
The
channels
value is illegal.
ippStsSizeErr
Values of the
size
fields are illegal.
ippStsNullPtrErr
At least one of the pointers (except
tile
) is
NULL
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804