SumsDiff16x16Blocks4x4

Evaluate sixteen sums of differences, 16X16

Supported Technologies

SSE2

Synopsis

FwStatus   fwiSumsDiff16x16Blocks4x4_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 sixteen differences between a 16X16 source block divided into sixteen 4X4 blocks of elements and a 16X16 reference block divided into sixteen corresponding 4X4 blocks of elements, then sums the results with sixteen 4X4 residual block elements pointed to by pDiff. The sixteen results are written to a sixteen-element array pointed to by pSums.