SAD16x16

Evaluate sum of absolute difference, 16X16 block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSAD16x16_8u32s ( const Fw8u * pSrcFw32s srcStepconst Fw8u * pRefFw32s refStepFw32s * pSADFw32s mcType );

Parameters

mcType   Specifies the type of prediction used for motion compensation.
pRef   Pointer to a prefetch buffer which contains previously decoded bits.
pSAD   Pointer to an SAD result.
pSrc   Pointer to a block of DCT coefficients.
refStep   Reference block step size (width of the block in bytes).
srcStep   Source buffer step size (width of the buffer in bytes).

Description

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