Computes the size of the working buffer.
IppStatus ippiFilterGetBufSize_64f_C1R(IppiSize kernelSize, int roiWidth, int* pBufferSize);
kernelSize |
Size of the rectangular kernel in pixels. |
roiWidth |
Width of the image ROI in pixels. |
pBufferSize |
Pointer to the size of the working buffer. |
The function ippiFilterGetBufSize is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size of the working buffer pBufferSize that is required for the function ippiFilter (flavor which operates on data of the Ipp64f type).
In some cases the function may return zero size of the buffer.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if pBufferSize is NULL. |
ippStsSizeErr |
Indicates an error condition if kernelSize has a field with a zero or negative value, or roiWidth is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.