Evaluates sum of squares of differences between current and reference 16X16 blocks.
IppStatus ippiSqrDiff16x16_8u32s(const Ipp8u* pSrc, Ipp32s srcStep, const Ipp8u* pRef, Ipp32s refStep, Ipp32s mcType, Ipp32s* pSqrDiff);
pSrc |
Pointer to the current block of specified size. |
srcStep |
Step of the current block, specifying width of the block in bytes. |
pRef |
Pointer to the reference block of specified size. |
refStep |
Step of the reference block, specifying width of the block in bytes. |
mcType |
MC type IPPVC_MC_APX. |
pSqrDiff |
Pointer to the sum of square difference between all elements in the current and reference blocks. |
This function is declared in the ippvc.h header file. The function ippiSqrDiff16x16_8u32s evaluates the sum of square difference between all the elements in the current block and corresponding elements in the reference block. The result is stored in integer *pSqrDiff.
Let us denote the pel which lies at the crossing of ith row and jth column of the current block as block[i,j] and the pel which lies at the crossing of ith row and jth column of the reference block as ref_block[i,j]. Then
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsStepErr |
Indicates an error when srcStep or refStep is less than or equal to zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.