API Quick Reference Guide

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

iwiSetChannel

Syntax



    
typedef struct _IwiSetChannelParams { int reserved; } IwiSetChannelParams;


    
static IW_INLINE void iwiSetChannel_SetDefaultParams( IwiSetChannelParams *pParams )


    
IW_DECL(IppStatus) iwiSetChannel( double value, IwiImage *pDstImage, int channelNum, const IwiSetChannelParams *pAuxParams, const IwiTile *pTile );
Parameters
value
Value to set to the image channel.
pDstImage
Pointer to the destination image.
channelNum
Number of channel to set.
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
reserved
0
Reserved value
Description
This function sets the selected channel of a multi-channel image to the specified value.
This function supports the following features:
Feature
Support
Internal threading
No
Manual tiling
Yes
IwiTile
simple tiling
Yes
IwiTile
pipeline tiling
Yes
Return 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
pTile
) is
NULL
.
ippStsNoErr
No errors.

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