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 areipp32f,ipp32fc,ipp64f, oripp64fc.
- algType
- Bit-field mask for the algorithm type definition. Possible values are the results of composition of theIppAlgTypeandIppsNormOpvalues.
- 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 whenpBufferSizeisNULL.
- ippStsSizeErr
- Indicates an error whensrcLenordstLenis less than, or equal to zero.
- ippStsAlgTypeErr
- Indicates an error when:
- the result of the bitwise AND operation between thealgTypeandippAlgMaskdiffers from theippAlgAuto,ippAlgDirect, orippAlgFFTvalues;
- the result of the bitwise AND operation between thealgTypeandippsNormMaskdiffers from theippsNormNone,ippsNormA, orippsNormBvalues.
- ippStsDataTypeErr
- Indicates an error when thedataTypevalue differs from theipp32f,ipp32fc,ipp64f, oripp64fc.