SAD16x16Blocks8x8

Evaluate four partial sums of absolute differences, 16x16 block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSAD16x16Blocks8x8_8u16u ( const Fw8u * pSrcFw32s srcStepFw8u * pRefFw32s refStepFw16u * pDstSADFw32s mcType );

Parameters

mcType   Specifies the type of prediction used for motion compensation.
pDstSAD   Pointer to a destination array of size 4 that stores SAD values.
pRef   Pointer to a prefetch buffer which contains previously decoded bits.
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 four partial sums of absolute differences between a 16X16 source block divided into four 8X8 blocks of elements and a 16X16 reference block divided into four corresponding 8X8 blocks of elements. The four results are written to a four-element array pointed to by pDstSAD.