iwiMirror
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. IfNULL, default parameters are used.
- pTile
- Pointer to theIwiTilestructure for tiling. IfNULL, 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 ippAxs135
axis
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
- ThedataTypevalue is illegal.
- ippStsNumChannelsErr
- Thechannelsvalue is illegal.
- ippStsNotSupportedModeErr
- The selected combination of parameters' values is not supported.
- ippStsInplaceModeNotSupportedErr
- In-place operation is not supported in tiling mode:pSrcImageis equal topDstImage.
- ippStsNullPtrErr
- At least one of the pointers isNULL.
- ippStsNoErr
- No errors.