Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the work buffer for the ippsAutoCorrNorm function.
IppStatus ippsAutoCorrNormGetBufferSize (int srcLen, int dstLen, IppDataType dataType, IppEnum algType, int* pBufferSize);
ipps.h
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. |
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.
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:
|
ippStsDataTypeErr |
Indicates an error when the dataType value differs from the ipp32f, ipp32fc, ipp64f, or ipp64fc. |