iwiCopyChannel
iwiCopyChannel
Syntax
typedef struct _IwiCopyChannelParams
{
int reserved;
} IwiCopyChannelParams;
static IW_INLINE void iwiCopyChannel_SetDefaultParams(
IwiCopyChannelParams *pParams
)
IW_DECL(IppStatus) iwiCopyChannel(
const IwiImage *pSrcImage,
int srcChannel,
IwiImage *pDstImage,
int dstChannel,
const IwiCopyChannelParams *pAuxParams,
const IwiTile *pTile
);
Parameters
- pSrcImage
- Pointer to the source image.
- srcChannel
- Number of the source image channel to copy from.
- pDstImage
- Pointer to the destination image.
- dstChannel
- Number of the destination image channel to copy to.
- pAuxParams
- Pointer to the auxiliary parameters structure. IfNULL, default parameters are used.
- pTile
- Pointer to theIwiTilestructure for tiling. IfNULL, the whole image is processed.
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
reserved | 0 | Reserved value. |
Description
This function copies the selected channel from one multi-channel image to another. 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
- ThedataTypevalue is illegal.
- ippStsNumChannelsErr
- Thechannelsvalue is illegal.
- ippStsSizeErr
- Values of thesizefields are illegal.
- ippStsInplaceModeNotSupportedErr
- In-place operation is not supported:pSrcis equal topDst.
- ippStsNullPtrErr
- At least one of the pointers (exceptpTile) isNULL.
- ippStsNoErr
- No errors.