MC16x4

Performs motion compensation for predicted UV 16X4 block.

Syntax

IppStatus ippiMC16x4_8u_C1(const Ipp8u* pSrcRef, Ipp32s srcStep, const Ipp16s* pSrcYData, Ipp32s srcYDataStep, Ipp8u* pDst, Ipp32s dstStep, Ipp32s mcType, Ipp32s roundControl);

Parameters

pSrcRef

Pointer to the reference intra block.

srcStep

Size of the row in bytes, specifying the aligned reference frame width.

pSrcYData

Pointer to the data obtained after inverse DCT.

srcYDataStep

Number of bytes, specifying the width of the aligned data obtained after inverse DCT.

pDst

Pointer to the destination predicted block.

dstStep

Size of the row in bytes, specifying the aligned destination frame width.

mcType

MC type IPPVC_MC_APX.

roundControl

Parameter that determines type of rounding for half a pel approximation; may be 0 or 1.

Description

This function is declared in the ippvc.h header file. The function ippiMC16x4_8u_C1 calculates a sum of a 16x4 residual UV block and a 16x4 predicted UV block for reconstruction of the source UV block (See Figure Motion Compensation Scheme for Predicted Block). Prediction is calculated on the basis of the reference UV block and mcType (see IPPVC_MC_APX).

Half sample prediction is calculated taking into account structure of UV block . So (horizontally) neighboring elements of U-block (or V-block) have indexes i and i+2 in UV block.

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.