DownsampleFour_H263

Performs factor-of-4 picture downsampling.

Syntax

IppStatus ippiDownsampleFour_H263_8u_C1R(const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize, Ipp8u* pDst, int dstStep, int rounding);

Parameters

pSrc

Pointer to the origin of the source image region of interest (ROI).

srcStep

Width in bytes of the source image plane, that is, distance in bytes between the starting ends of consecutive lines of the source image.

srcRoiSize

Size of the source ROI.

pDst

Pointer to the origin of the destination image ROI.

dstStep

Width in bytes of the destination image plane.

rounding

Rounding value used in pixel interpolation, can be 0 or 1.

Description

The function ippiDownsampleFour_H263_8u_C1R is declared in the ippvc.h header file. This function performs factor-of-4 picture downsampling as specified in [ITUH263], Annex P, subclause P.5.2.

This function is used in the H.263 decoder included into Intel IPP Samples. See introduction to H.263.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if srcRoiSize has a field with zero or negative value.


Submit feedback on this help topic

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