Developer Reference

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

AutoCorrNormGetBufferSize

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

Syntax

IppStatus ippsAutoCorrNormGetBufferSize (int
srcLen
, int
dstLen
, IppDataType
dataType
, IppEnum
algType
, int*
pBufferSize
);
Include Files
ipps.h
Parameters
srcLen
Number of elements in the source vector.
dstLen
Number of elements in the destination vector (length of auto-correlation).
dataType
Data type for auto-correlation. Possible values are
ipp32f
,
ipp32fc
,
ipp64f
, or
ipp64fc
.
algType
Bit-field mask for the algorithm type definition. Possible values are the results of composition of the
IppAlgType
and
IppsNormOp
values.
pBufferSize
Pointer to the size of the work buffer.
Description
The
ippsAutoCorrNormGetBufferSize
function computes the size in bytes of the external work buffer needed for the function that performs auto-correlation. The result is stored in the
pBufferSize
parameter.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when
pBufferSize
is
NULL
.
ippStsSizeErr
Indicates an error when
srcLen
or
dstLen
is less than, or equal to zero.
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
    ippsNormMask
    differs from the
    ippsNormNone
    ,
    ippsNormA
    , or
    ippsNormB
    values.
ippStsDataTypeErr
Indicates an error when the
dataType
value differs from the
ipp32f
,
ipp32fc
,
ipp64f
, or
ipp64fc
.

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