Evaluates sum of squares of differences between current and reference 4X4 blocks.
IppStatus ippiSSD4x4_8u32s_C1R(const Ipp8u* pSrcCur, int srcCurStep, const Ipp8u* pSrcRef, int srcRefStep, Ipp32s* pDst, Ipp32s mcType);
pSrcCur |
Pointer to the current block of specified size. |
srcCurStep |
Step of the current block, specifying width of the block in bytes. |
pSrcRef |
Pointer to the reference block of specified size. |
srcRefStep |
Step of the reference block, specifying width of the block in bytes. |
pDst |
Pointer to the sum of square difference between all elements in the current and reference blocks. |
mcType |
MC type IPPVC_MC_APX. |
This function is declared in the ippvc.h header file. The function ippiSSD4x4_8u32s_C1R 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 *pDst.
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. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.