Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

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. NULL pointers in the array will be skipped.

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 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

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.