Performs 2:1 horizontal sampling and 2:1 vertical sampling of an image row.
IppStatus ippiSampleDownRowH2V2_Box_JPEG_8u_C1(const Ipp8u* pSrc1, const Ipp8u* pSrc2, int srcWidth, Ipp8u* pDst);
pSrc1 |
Pointer to the source image row. |
pSrc2 |
Pointer to the subsequent source image row. |
pDst |
Pointer to the destination image row. |
srcWidth |
Width of the source row in pixels. |
The function ippiSampleDownRowH2V2_Box_JPEG is declared in the ippj.h file. This function performs 2:1 horizontal sampling and 2:1 vertical sampling of an image row. Downsampling is performed as a simple “box” filter.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or all of the specified pointers are NULL. |
ippStsSizeErr |
Indicates an error condition if srcWidth has a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.