SampleUpRowH2V1_Triangle_JPEG

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

Syntax

IppStatus ippiSampleUpRowH2V1_Triangle_JPEG_8u_C1(const Ipp8u* pSrc, int srcWidth, Ipp8u* pDst);

Parameters

pSrc

Pointer to the source image row.

pDst

Pointer to the destination image row.

srcWidth

Width of the source row in pixels.

Description

The function ippiSampleUpRowH2V1_Triangle_JPEG is declared in the ippj.h file. This function performs 1:2 horizontal sampling and 1:1 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 row.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one or both of the 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.