SampleDownRowH2V2_Box_JPEG

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

Syntax

IppStatus ippiSampleDownRowH2V2_Box_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 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.

Return Values

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.

Submit feedback on this help topic

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