ResizeSuperInit
Initializes the specification structure for image resizing with the super sampling interpolation method.
Syntax
IppStatus ippiResizeSuperInit_<mod>(IppiSize
srcSize
, IppiSize
dstSize
, IppiResizeSpec_32f*
pSpec
);
Supported values for
mod
:8u | 16u | 16s | 32f |
Platform-aware function
IppStatus ippiResizeSuperInit_L(IppiSizeL
srcSize
, IppiSizeL
dstSize
, IppDataType
dataType
, IppiResizeSpec*
pSpec
);
Threading layer (TL) function
IppStatus ippiResizeSuperInit_LT(IppiSizeL
srcSize
, IppiSizeL
dstSize
, IppDataType
dataType
, Ipp32u
numChannels
, IppiResizeSpec_LT*
pSpec
);
Include Files
ippi.h
Flavors with the
_LT
suffix: ippi_tl.h
Flavors with the
_L
suffix: ippi_l.h
Domain Dependencies
Flavors declared in
ippi.h
:Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Flavors declared in
ippi_tl.h
:Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
,
ippcore_tl.lib
,
ippi_tl.lib
Parameters
- srcSize
- Size, in pixels, of the source image.
- dstSize
- Size, in pixels, of the destination image.
- dataType
- Data type of the image. Supported values:ipp8u,ipp16u,ipp16s,ipp32f,ipp64f.
- pSpec
- Pointer to the specification structure for the resize filter.
- numChannels
- Number of channels. Possible values are 1, 3, and 4.
Description
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.Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error if one of the specified pointers isNULL.
- ippStsNoOperation
- Indicates a warning if width or height of the image is equal to zero.
- ippStsSizeErr
- Indicates an error in the following cases:
- Indicates that one of the specified dimensions of the source image is less than the corresponding dimension of the destination image, or that the width or height of the source or destination image is negative.
- If the width or height of the source or destination image is negative.
- 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 ifdataTypehas an illegal value.