SumsDiff16x16Blocks4x4

Evaluates difference between current and reference 4X4 blocks and calculates sums of 4X4 residual blocks elements for 16X16 blocks.

Syntax

IppStatus ippiSumsDiff16x16Blocks4x4_8u16s_C1(const Ipp8u* pSrc, Ipp32s srcStep, const Ipp8u* pPred, Ipp32s predStep, Ipp16s* pSums, Ipp16s* pDiff);

Parameters

pSrc

Pointer to a 16x16 block in the current plane.

srcStep

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

pPred

Pointer to a 16x16 block in the reference plane.

predStep

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

pSums

Pointer to an array of size 16 that contains sums of 4x4 difference blocks coefficients. The array is filled by function.

pDiff

If not NULL, pointer to an array of size 256 that contains a sequence of 4x4 residual blocks. The array is filled by function.

Description

This function is declared in the ippvc.h header file. The function ippiSumsDiff16x16Blocks4x4_8u16s_C1 evaluates difference between current and reference 4x4 blocks and calculates sums of 4x4 residual blocks elements in same order as shown in Figure the figure below.

Splitting of 16x16 Block Into Sixteen 4x4 Blocks





.

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.