Visible to Intel only — GUID: GUID-AEBC73AC-DB5A-4C61-9935-5B4D3558E5AA
Visible to Intel only — GUID: GUID-AEBC73AC-DB5A-4C61-9935-5B4D3558E5AA
ConvolveGetBufferSize
Computes the size of the work buffer for the ippsConvolve function.
Syntax
IppStatus ippsConvolveGetBufferSize (int src1Len, int src2Len, IppDataType dataType, IppEnum algType, int* pBufferSize);
Include Files
ipps.h
Parameters
src1Len |
Number of elements in the first source vector. |
src2Len |
Number of elements in the second source vector. |
dataType |
Data type for convolution. Possible values are ipp32f and ipp64f. |
algType |
Bit-field mask for the algorithm type definition. Possible values are listed in the IppAlgType enumerator. |
pBufferSize |
Pointer to the size of the work buffer. |
Description
The ippsConvolveGetBufferSize function computes the size, in bytes, of the external work buffer needed for the functions that perform convolution operations. 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 the length of the vector is negative, 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. |
ippStsDataTypeErr |
Indicates an error when the dataType value differs from the ipp32f or ipp64f. |