Performs row-oriented resampling of the image.
IppStatus ippiResampleRow_32f_C1(const Ipp32f*pSrc, int srcLineStep, Ipp32f* pDst, int dstLineStep, int xOriginRefGrid, IppiSizesizeRefGrid, const IppiResampleRowSpec_32f* pRowSpec, Ipp8u* pBuffer);
IppStatus ippiResampleRowReplicateBorder_32f_C1R(const Ipp32f* pSrc, int srcLineStep, Ipp32f* pDst, int dstLineStep, int xOriginRefGrid, IppiSize sizeRefGrid, const IppiResampleRowSpec_32f* pRowSpec, Ipp8u* pBuffer);
pSrc |
Pointer to the source row origin. |
srcLineStep |
Distance in bytes between starts of consecutive lines in the source image buffer. |
pDst |
Pointer to the destination row origin. |
dstLineStep |
Distance in bytes between starts of consecutive lines in the destination image buffer. |
xOriginRefGrid |
x-coordinate of the image origin in the reference grid. |
sizeRefGrid |
Size of the image in terms of the reference grid. |
pRowSpec |
Pointer to the initialized row resampling structure. |
pBuffer |
Pointer to the work buffer. |
The functions ippiResampleRow and ippiResampleRowReplicateBorder are declared in the ippi.h file.
These functions resample one or several rows of the source image pSrc. Parameters of resampling (including filter taps) are defined by the IppiResampleRowSpec structure. Reference grid is determined by its origin (the xOriginRefGrid parameter) and size (the sizeRefGrid parameter). Height of the sizeRefGrid structure defines number of rows to be resampled. The result is written to the destination image pDst.
Function ippiResampleRow automatically creates replicated borders around the source image.
Function ippiResampleRowReplicateBorder requires left and right replicate borders created by the user around the source image for each row. Use the ippiResampleRowGetBorderWidth function to compute width of the borders.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointer is NULL. |
ippStsBadArgErr |
Indicates an error condition if the structure is corrupted. |
ippStsOutOfRangeErr |
Indicates an error condition if the xOriginRefGrid is out of the range. |
ippStsSizeErr |
Indicates an error condition if the sizeRefGrid is not valid. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.