Developer Reference for Intel® Integrated Performance Primitives
Initializes the specification structure for image resizing with the super sampling interpolation method and floating point shifts.
IppStatus ippiResizeSuperInit_<mod>(IppiSize srcSize, IppiSize dstSize, Ipp64f xShift, Ipp64f yShift, IppiBorderType borderType, const Ipp8u * borderVal, int smoothEdge, int numChannels, IppiResizeSpec_32f* pSpec);
Supported values for mod:
8u |
16u |
16s |
32f |
ippi.h
Flavors declared in ippi.h:
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
srcSize |
Size, in pixels, of the source image. |
dstSize |
Size, in pixels, of the destination image. |
xShift |
Shift value in the x direction. |
yShift |
Shift value in the y direction. |
borderType |
Type of border. Supported values: ippBorderTransp. Outer pixels are not processed. |
borderVal |
Not used. This parameter is applicable only to the ippBorderConst border type. |
smoothEdge |
Flag for edge smoothing. Supported values: 0 - transformation without edge smoothing. 1 - transformation with edge smoothing. |
pSpec |
Pointer to the specification structure for the resize filter. |
numChannels |
Number of channels. Possible values are 1, 3, and 4. |
This function initializes the specification structure for the resize algorithm with the super sampling interpolation method. To calculate the size of the specification structure, call the ippiResizeGetSize function.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsNoOperation |
Indicates a warning if: - width or height of the destination image is equal to zero. - smoothing edge is on and width or height of the destination image is equal to one. |
ippStsSizeErr |
Indicates an error in the following cases:
|
ippStsExceededSizeErr |
Indicates an error If width or height of the source or destination image exceeds 33554431 (0x1FFFFFF) (only for platform-aware and TL functions). |
ippStsDataTypeErr |
Indicates an error if dataType has an illegal value. |
ippStsNumChannelsErr |
Indicates an error if the number of channels is not supported. |
ippStsBorderErr |
Indicates an error if specified borderType is not supported. |