Developer Reference

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

CrossCorrNormGetBufferSize

Computes the size of the work buffer for the
ippiCrossCorrNorm
function.

Syntax

IppStatus ippiCrossCorrNormGetBufferSize (IppiSize
srcRoiSize
, IppiSize
tplRoiSize
, IppEnum
algType
, int*
pBufferSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
srcRoiSize
,
tplRoiSize
Size of the source/template ROI in pixels.
algType
Bit-field mask for the algorithm type definition. Possible values are the results of composition of the
IppAlgType
,
IppiROIShape
, and
IppiNormOp
values.
pBufferSize
Pointer to the size of the work buffer.
Description
The
ippiCrossCorrNormGetBufferSize
function computes the size, in bytes, of the external work buffer needed for the function that performs two-dimensional cross-correlation. The result is stored in the
pBufferSize
parameter.
Return Values
ippStsNoErr
Indicates no error.
ippStsSizeErr
Indicates an error when:
  • srcRoiSize
    or
    tplRoiSize
    is negative, or equal to zero
  • the value of
    srcRoiSize
    is less than the corresponding value of
    tplRoiSize
    .
ippStsAlgTypeErr
Indicates an error when:
  • the result of the bitwise AND operation between the
    algType
    and
    ippAlgMask
    differs from the
    ippAlgAuto
    ,
    ippAlgDirect
    , or
    ippAlgFFT
    values.
  • the result of the bitwise AND operation between the
    algType
    and
    ippiROIMask
    differs from the
    ippiROIFull
    ,
    ippiROISame
    , or
    ippiROIValid
    values.
  • the result of the bitwise AND operation between the
    algType
    and
    ippiNormMask
    differs from the
    ippiNormNone
    ,
    ippiNorm
    , or
    ippiNormCoefficient
    values.
ippStsNullPtrErr
Indicates an error when
pBufferSize
is NULL.

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