Converts negative number from the complement to direct code.
IppStatus ippiComplement_32s_C1IR(Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize);
pSrcDst |
Pointer to the source and destination image ROI. |
srcDstStep |
Distance in bytes between starts of consecutive lines in the source and destination image. |
roiSize |
Size of the source and destination ROI in pixels. |
The function ippiComplement is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts a negative integer number from the complement to direct code reserving the sign in the most significant bit.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if the pSrcDst pointer is NULL. |
ippStsStepErr |
Indicates an error condition if srcDstStep has a zero or negative value. |
ippStsStrideErr |
Indicates an error condition if srcDstStep is less than the image width. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.