Developer Reference

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

PyramidLayerDownGetSize

Computes the size of the structure for creating a lower pyramid layer and the size of the temporary buffer.

Syntax

IppStatus ippiPyramidLayerDownGetSize_8u_C1R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
IppStatus ippiPyramidLayerDownGetSize_8u_C3R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
IppStatus ippiPyramidLayerDownGetSize_16u_C1R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
IppStatus ippiPyramidLayerDownGetSize_16u_C3R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
IppStatus ippiPyramidLayerDownGetSize_32f_C1R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
IppStatus ippiPyramidLayerDownGetSize_32f_C3R(IppiSize
srcRoi
, Ipp32f
rate
, int
kerSize
, int*
pStateSize
, int*
pBufSize
);
Include Files
ippcv.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
srcRoi
Size of the source image ROI.
rate
Ratio between neighbouring levels (1 <
rate
10).
kerSize
Size of the kernel.
pStateSize
Pointer to the size of the pyramid layer state structure.
pBufSize
Pointer to the size of the external work buffer.
Description
This function operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size of the
pState
structure to build a lower pyramid layer and the size of the temporary buffer, in bytes. This structure is used by the
ippiPyramidLayerDown
function and can be applied to process images with size not greater than
srcRoi
. For an example on how to use this function, refer to the example provided with the
ippiPyramidLayerDown
function description.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when at least one of the pointers is
NULL
.
ippStsSizeErr
Indicates an error when the width or height of images is less than, or equal to zero.
ippStsBadArgErr
Indicates an error when
kerSize
is even, or equal to or less than 0; or when
rate
is out of the range.

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