Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

ResizeFilterInit

Initializes the state structure for the resize filter.

Syntax

IppStatus ippiResizeFilterInit_8u_C1R(IppiResizeFilterState*
pState
, IppiSize
srcRoiSize
, IppiSize
dstRoiSize
, IppiResizeFilterType
filter
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
pState
Pointer to the state structure for resize filter.
srcRoiSize
Size of the source image ROI in pixels.
dstRoiSize
Size of the destination image ROI in pixels.
filter
Type of filter used in resizing; possible values:
ippResizeFilterHann
,
ippResizeFilterLanczos
Description
This function operates with ROI (see ROI Processing in Geometric Transforms).
This function initializes the state structure
pState
for the resizing filter used by the function
ippiResizeFilter
. The size of the structure must be computed by the function
ippiResizeFilterGetSize
beforehand. The type of filter is specified by the parameter
filter
and it must be the same as in the function
ippiResizeFilterGetSize
.
Return Values
ippStsNoErr
Indicates no error. Any other value indicates an error.
ippStsNullPtrErr
Indicates an error condition if the
pState
pointer is
NULL
.
ippStsSizeErr
Indicates an error condition if
srcRoiSize
or
dstRoiSize
has a field with zero or negative value.
ippStsNotSupportedModeErr
Indicates an error condition if
filter
has an invalid 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