SAD8x8

Evaluate sum of absolute difference, 8x8 block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSAD8x8_8u32s_C1R ( const Fw8u * pSrcCurint srcCurStepconst Fw8u * pSrcRefFw32s srcRefStepFw32s * pDstFw32s mcType );

Parameters

mcType   Specifies the type of prediction used for motion compensation.
pDst   Pointer to a location in a destination buffer, a location in a destination array or to a destination result.
pSrcCur   Pointer to a block in the current plane.
pSrcRef   Pointer to a block in the reference plane.
srcCurStep   Source current block step size (width of the block in bytes)
srcRefStep   Source reference block step size (width of the block in bytes)

Description

This function evaluates the sum of absolute difference between the elements of an 8X8 block and the corresponding elements of a reference block. The integer result is stored in the location pointed to by pSAD.