Calculates the size of the working buffer.
IppStatus ipprFilterGetBufSize(IpprVolume dstVolume, IpprVolume kernelVolume, int nChannel, int* pBufferSize);
dstVolume |
Size of the processed volume. |
kernelVolume |
Size of the kernel volume. |
nChannel |
Number of channels or planes, possible value is one. |
pBufferSize |
Pointer to the size of the external buffer. |
The function ipprFilterGetBufSize is declared in the ippr.h file. It operates with VOI. This function computes the size of the working buffer pBufferSize that is required for the function ipprFilter.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if pBufferSize pointer is NULL. |
ippStsNumChannelErr |
Indicates an error condition if nChannel has an illegal value. |
ippStsSizeErr |
Indicates an error condition if dstVolume or kernelVolume has a field with zero or negative value. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.