Evaluate means and variances, two 8X8 blocks of difference between two 16X8 blocks
|FwStatus||fwiVarMeanDiff16x8_8u32s_C1R||(||const Fw8u * pSrc, Fw32s srcStep, const Fw8u * pRef, Fw32s refStep, Fw32s * pSrcSum, Fw32s * pVar, Fw32s * pMean, Fw32s mcType );|
|mcType||Specifies the type of prediction used for motion compensation.|
|pMean||Pointer to a computed mean of pixel values.|
|pRef||Pointer to a prefetch buffer which contains previously decoded bits.|
|pSrc||Pointer to a block of DCT coefficients.|
|pSrcSum||Pointer to a sum of pixel values for the current block.|
|pVar||Pointer to a variance value.|
|refStep||Reference block step size (width of the block in bytes).|
|srcStep||Source buffer step size (width of the buffer in bytes).|
This function evaluates the means and variances of two 8x8 blocks of difference between 16x8 blocks of unsigned elements.
Parameter pSrcSum is used to avoid excessive computation as the function is repeatedly called for the same current block. pSrcSum must point to the array of four 8x8 blocks that make up the current block. Parameters pVar and pMean must point to four-element arrays because variance and mean are calculated for each 8x8 block.