iwiCopySplit
iwiCopySplit
Syntax
typedef struct _IwiCopySplitParams
{
int reserved;
} IwiCopySplitParams;
static IW_INLINE void iwiCopySplit_SetDefaultParams(
IwiCopySplitParams *pParams
)
IW_DECL(IppStatus) iwiCopySplit(
const IwiImage *pSrcImage,
IwiImage* const pDstImages[],
const IwiCopySplitParams *pAuxParams,
const IwiTile *pTile
);
Parameters
- pSrcImage
- Pointer to the source image.
- pDstImages[]
- Array of pointers to the destination images.NULLpointers in the array will be skipped.
- 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 splits a multi-channel image into an array of single-channel images.
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.
- ippStsNullPtrErr
- At least one of the pointers (exceptpTile) isNULL.
- ippStsNoErr
- No errors.