Intel IPP Integration Wrappers Developer Guide and Reference

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

iwiMirror

Syntax

typedef struct _IwiMirrorParams
{
    IwiChDescriptor chDesc;
} IwiMirrorParams;
static IW_INLINE void iwiMirror_SetDefaultParams(
    IwiMirrorParams *pParams
)

IW_DECL(IppStatus) iwiMirror(
    const IwiImage         *pSrcImage,
    IwiImage               *pDstImage,
    IppiAxis                axis,
    const IwiMirrorParams  *pAuxParams,
    const IwiTile          *pTile
);

Parameters

pSrcImage

Pointer to the source image.

pDstImage

Pointer to the destination image.

axis

Mirror axis.

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

chDesc

iwiChDesc_None

Special channels processing mode.

Description

This function mirrors an image over the specified axis.

For ippAxs45 and ippAxs135axis values, the destination image must have a flipped size: dstWidth = srcHeight, dstHeight = srcWidth.

This function supports the following features:

Feature Support
Internal threading No
Manual tiling Yes
IwiTile simple tiling Yes
IwiTile pipeline tiling No

Return Values

ippStsDataTypeErr

The dataType value is illegal.

ippStsNumChannelsErr

The channels value is illegal.

ippStsNotSupportedModeErr

The selected combination of parameters' values is not supported.

ippStsInplaceModeNotSupportedErr

In-place operation is not supported in tiling mode: pSrcImage is equal to pDstImage.

ippStsNullPtrErr

At least one of the pointers is NULL.

ippStsNoErr

No errors.