GetDiff4x4

Computes difference between current predicted and reference 4x4 blocks.

Syntax

IppStatus ippiGetDiff4x4_8u16s_C1(const Ipp8u* pSrcCur, Ipp32s srcCurStep, const Ipp8u* pSrcRef, Ipp32s srcRefStep, Ipp16s* pDstDiff, Ipp32s dstDiffStep, Ipp16s* pDstPredictor, Ipp32s dstPredictorStep, Ipp32s mcType, Ipp32s roundControl);

Parameters

pSrcCur

Pointer to the block of size 4x4 in the current plane.

srcCurStep

Step of the current block, specifying width of the plane in bytes.

pSrcRef

Pointer to the block of size 4x4 in the reference plane.

srcRefStep

Step of the reference block, specifying width of the plane in bytes.

pDstDiff

Pointer to the block of size 4x4 in the destination plane, which contains difference between the current and reference blocks.

dstDiffStep

Step of the destination block, specifying width of the block in bytes.

pDstPredictor

Reserved parameter (must be 0).

dstPredictorStep

Reserved parameter (must be 0).

mcType

Reserved parameter (must be 0).

roundControl

Reserved parameter (must be 0).

Description

This function is declared in the ippvc.h header file. The function ippiGetDiff4x4_8u16s_C1 computes the difference between predictor 4x4 block and source 4x4 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.