SAD16x8

Evaluates sum of absolute difference between current and reference 16X8 blocks.

Syntax

IppStatus ippiSAD16x8_8u32s_C1R(const Ipp8u* pSrcCur, int srcCurStep, const Ipp8u* pSrcRef, int srcRefStep, Ipp32s* pSAD, Ipp32s mcType);

Parameters

pSrcCur

Pointer to a 16x8 block in the source plane.

srcCurStep

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

pSrcRef

Pointer to a 16x8 block in the reference plane.

srcRefStep

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

pSAD

Pointer to the SAD value.

mcType

MC type IPPVC_MC_APX.

Description

This function is declared in the ippvc.h header file. The function ippiSAD16x8_8u32s_C1R evaluates the sum of absolute difference of all the elements in the current 16x8 block and the corresponding elements in the reference 16x8 block. The result is stored in pSAD.

This function is used in the MPEG-4 encoder included into Intel IPP Samples. See introduction to Motion Estimation.

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.