SAD16x16Blocks8x8

Evaluates four partial sums of absolute differences between current and reference 16X16 blocks.

Syntax

IppStatus ippiSAD16x16Blocks8x8_8u16u(const Ipp8u* pSrc, Ipp32s srcStep, const Ipp8u* pRef, Ipp32s refStep, Ipp16u* pDstSAD, Ipp32s mcType);

Parameters

pSrc

Pointer to a 16x16 block in the source plane.

srcStep

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

pRef

Pointer to a 16x16 block in the reference plane.

refStep

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

pDstSAD

Pointer to an array of size 4 to store the SAD values.

mcType

Reserved and must be 0.

Description

This function is declared in the ippvc.h header file.

The function ippiSAD16x16Blocks8x8_8u16u evaluates the four partial sums of absolute differences of all the elements in the current 16x16 block and the corresponding elements in the reference 16x16 block. The result is stored in pDstSAD.

Splitting of 16x16 Block Into Four 8x8 Blocks



This function is used in the H.264 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.