Copy8x4HP, Copy8x8HP, Copy16x8HP, Copy16x16HP

Copy fixed size blocks with half-pixel accuracy.

Syntax

IppStatus ippiCopy8x4HP_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, int acc, int rounding);

IppStatus ippiCopy8x8HP_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, int acc, int rounding);

IppStatus ippiCopy16x8HP_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, int acc, int rounding);

IppStatus ippiCopy16x16HP_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, int acc, int rounding);

Parameters

pSrc

Pointer to the source block.

srcStep

Distance in bytes between starts of the consecutive lines in the source block.

pDst

Pointer to the destination block.

dstStep

Distance in bytes between starts of the consecutive lines in the destination block.

acc

Parameter that determines half-pixel accuracy.

rounding

Parameter that determines type of rounding for pixel interpolation; may be 0 or 1.

Description

The functions ippiCopy8x4HP_8u_C1R, ippiCopy8x8HP_8u_C1R, ippiCopy16x8HP_8u_C1R, and ippiCopy16x16HP_8u_C1R are declared in the ippvc.h file. These functions copy the source block to the destination block with half-pixel accuracy. Parameter rounding has the same meaning as RTYPE in [ITUH263] and vop_rounding_type in [ISO14496]. Parameter acc is a two-bit value. Bit 0 defines half-pixel offset in horizontal direction and bit 1 defines half-pixel offset in vertical direction. The process of half-pixel interpolation is described in [ITUH263] subclause 6.1.2 and in [ISO14496] subclause 7.6.2.1.

The functions ippiCopy8x4HP_8u_C1R and ippiCopy16x8HP_8u_C1R are used in the MPEG-4 encoders and decoders included into Intel IPP Samples. The functions ippiCopy8x8HP_8u_C1R and ippiCopy16x16HP_8u_C1R are used in the H.263 and MPEG-4 encoders and decoders included into Intel IPP Samples. See introduction to Motion Compensation.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one input pointer is NULL.


Submit feedback on this help topic

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