Computes the width of the left and right borders.
IppStatus ippiResampleRowGetBorderWidth_32f(const IppiResampleRowSpec_32f* pRowSpec, int* pLeftWidth, int* pRightWidth);
pRowSpec |
Pointer to the initialized row resampling structure. |
pLeftWidth |
Pointer to the size (in pixels) of the left border width. |
pRightWidth |
Pointer to the size (in pixels) of the right border width. |
The function ippiResampleRowGetBorderWidth is declared in the ippi.h file.
This function computes the width of the right and left borders (in pixels) that must be added to the source buffer before resampling with the function ippiResampleRowReplicateBorder. The results are stored in the pRightWidth and pLeftWidth respectively. The width of each border depends on parameters of resampling determined in the IppiResampleRowSpec structure.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if the pRowSpec pointer is NULL. |
ippStsBadArgErr |
Indicates an error condition if the specified filter type is incorrect or unsupported. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.