Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

ResizeAntialiasingCubicInit

Initializes the specification structure for image resizing with antialiasing using interpolation with the two-parameter cubic filters.

Syntax

IppStatus ippiResizeAntialiasingCubicInit(IppiSize
srcSize
, IppiSize
dstSize
, Ipp32f
valueB
, Ipp32f
valueC
, IppiResizeSpec_32f*
pSpec
, Ipp8u*
pInitBuf
);
Platform-aware function
IppStatus ippiResizeAntialiasingCubicInit_L(IppiSizeL
srcSize
, IppiSizeL
dstSize
, IppDataType
dataType
, Ipp32f
valueB
, Ipp32f
valueC
, IppiResizeSpec*
pSpec
, Ipp8u*
pInitBuf
);
Threading layer (TL) function
IppStatus ippiResizeAntialiasingCubicInit_LT(IppiSizeL
srcSize
, IppiSizeL
dstSize
, IppDataType
dataType
, Ipp32u
numChannels
, Ipp32f
valueB
, Ipp32f
valueC
, IppiResizeSpec_LT*
pSpec
, Ipp8u*
pInitBuf
);
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 of the source image, in pixels.
dstSize
Size of the destination image, in pixels.
valueB
The first parameter for cubic filters.
valueC
The second parameter for cubic filters.
numChannels
Number of image channels. Possible values: 1, 3, or 4.
dataType
Data type of the image. Supported values:
ipp8u
,
ipp16u
,
ipp16s
,
ipp32f
,
ipp64f
.
pSpec
Pointer to the specification structure for the resize filter.
pInitBuf
Pointer to the temporary buffer for initialization of the cubic filter.
Description
This function initializes the
IppiResizeSpec_32f
structure for the resize operation with antialiasing using interpolation with the two-parameter cubic filters.
Before using this function, calculate the size of the temporary buffer and specification structure using the
ippiResizeGetSize
function with the
antialiasing
parameter equal to 1.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when one of the specified pointers is
NULL
.
ippStsNoOperation
Indicates a warning when width or height of the image is equal to zero.
ippStsSizeErr
Indicates an error if 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 if
dataType
has an illegal value.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804