Copy8x8QP_MPEG4, Copy16x8QP_MPEG4, Copy16x16QP_MPEG4

Copy fixed size blocks with quarter-pixel accuracy.

Syntax

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

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

IppStatus ippiCopy16x16QP_MPEG4_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 image.

pDst

Pointer to the destination block.

dstStep

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

acc

Parameter that determines quarter-pixel accuracy.

rounding

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

Description

The functions ippiCopy8x8QP_MPEG4_8u_C1R, ippiCopy16x8QP_MPEG4_8u_C1R, and ippiCopy16x16QP_MPEG4_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 vop_rounding_type in [ISO14496]. Parameter acc is a four-bit value, the bits 0-1 define quarter-pixel offset in horizontal direction and bits 2-3 define quarter-pixel offset in vertical direction. The process of quarter-pixel interpolation is described in [ISO14496] subclause 7.6.2.2.

These functions are used in the MPEG-4 encoder and decoder included into Intel IPP Samples. See introduction to MPEG-4.

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 - 2011, Intel Corporation. All rights reserved.