Visible to Intel only — GUID: GUID-D254AEFC-0DC5-4041-BBAD-6FAD7368D7B8
iwiMirror
Syntax
class IwiMirrorParams: public ::IwiMirrorParams
{
public:
IW_BASE_PARAMS_CONSTRUCTORS(IwiMirrorParams, iwiMirror_SetDefaultParams)
IwiMirrorParams(IwiChDescriptor _chDesc = iwiChDesc_None);
};
IW_DECL_CPP(IppStatus) iwiMirror(
const IwiImage &srcImage,
IwiImage &dstImage,
IppiAxis axis,
const IwiMirrorParams &auxParams = IwiMirrorParams(),
const IwiTile &tile = IwiTile()
);
Parameters
srcImage |
Reference to the source image. |
dstImage |
Reference to the destination image. |
axis |
Mirror axis. |
auxParams |
Reference to the auxiliary parameters structure. |
tile |
Reference to the IwiTile object for tiling. By default, no tiling is used. |
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.
For more information, refer to the iwiMirror function description in C Reference.
Return Values
ippStsNoErr |
No errors. |
Exception 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 (except tile) is NULL. |