SampleUpRowH2V2_Triangle_JPEG

Performs 1:2 horizontal sampling and 1:2 vertical sampling of an image row.

Syntax

IppStatus ippiSampleUpRowH2V2_Triangle_JPEG_8u_C1(const Ipp8u* pSrc1, const Ipp8u* pSrc2, int srcWidth, Ipp8u* pDst);

Parameters

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.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.