Calculates size of temporary buffer for the function ippiPyrUp.
IppStatus ippiPyrUpGetBufSize_Gauss5x5(int roiWidth, IppDataType dataType, int channels, int* pBufferSize);
The function ippiPyrUpGetBufSize is declared in the ippcv.h file. This function calculates the size of the temporary buffer to be used by the function ippiPyrUp. The buffer of the calculated size can be used to process smaller images.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtr |
Indicates an error condition if the pBufferSize pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if the value of roiWidth is zero or negative. |
ippStsNumChannelsErr |
Indicates an error condition if channels is not 1 or 3. |
ippStsDataTypeErr |
Indicates an error condition if dataType is not Ipp8u, Ipp8s, or Ipp32f. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.