Performs 1:2 horizontal sampling and 1:2 vertical sampling of an image row.
IppStatus ippiSampleUpRowH2V2_Triangle_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 ippiSampleUpRowH2V2_Triangle_JPEG is declared in the ippj.h file. This function performs 1:2 horizontal sampling and 1:2 vertical sampling of an image row. Sampling is performed following the scheme of a “triangle” filter as shown in Figure “Triangle Sampling Scheme”. This function does not require samples outside the source image rows.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or all 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.