SumsDiff8x8Blocks4x4

Evaluate four sums of differences, 16X16 block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSumsDiff8x8Blocks4x4_8u16s_C1 ( Fw8u * pSrcFw32s srcStepFw8u * pPredFw32s predStepFw16s * pSumsFw16s * pDiff );

Parameters

pDiff   Pointer to an array of size 16 that contains the sums of 4X4 difference block coefficients.
pPred   Pointer to a 16x16 predictor block in the reference plane.
pSrc   Pointer to a block of DCT coefficients.
pSums   Pointer to an array of size 256 that contains a sequence of 4X4 residual blocks.
predStep   Reference plane step size (in bytes).
srcStep   Source buffer step size (width of the buffer in bytes).

Description

This function evaluates four 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, then sums the results with four 8X8 residual block elements pointed to by pDiff. The four results are written to a four-element array pointed to by pSums.