Visible to Intel only — GUID: GUID-7F992072-CF73-4549-A64A-21FAF625D5E9
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. 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 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 |
The dataType value is illegal. |
ippStsNumChannelsErr |
The channels value is illegal. |
ippStsSizeErr |
Values of the size fields are illegal. |
ippStsInplaceModeNotSupportedErr |
In-place operation is not supported: pSrc is equal to pDst. |
ippStsNullPtrErr |
At least one of the pointers (except pTile) is NULL. |
ippStsNoErr |
No errors. |