Computes the size of the external buffer for image reducing with the super sampling method.
IppStatus ippiSuperSamplingGetBufSize(IppiSize srcRoiSize, IppiSize dstRoiSize, int nChannel, int* pBufferSize);
srcRoiSize |
Size of the source image ROI in pixels. |
dstRoiSize |
Size of the destination image ROI in pixels. |
nChannel |
Number of channels or planes, possible values are 1, 3, 4. |
pBufferSize |
Pointer to the size of the external buffer. |
The function ippiSuperSamplingGetBufSize is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function computes the size pBufferSize of the external buffer that is required for the function ippiSuperSampling.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pBufferSize pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if srcRoiSize or dstRoiSize has a field with zero or negative value, or if dstRoiSize has a field that is greater than the appropriate field of the srcRoiSize. |
ippStsNumChannelErr |
Indicates an error condition if nChannel has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.