VarMean8x8

Evaluate mean and variance, 8x8 block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiVarMean8x8_8u32s_C1R ( const Fw8u * pSrcFw32s srcStepFw32s * pVarFw32s * pMean );
FwStatus   fwiVarMean8x8_16s32s_C1R ( const Fw16s * pSrcFw32s srcStepFw32s * pVarFw32s * pMean );

Parameters

pMean   Pointer to a computed mean of pixel values.
pSrc   Pointer to a block of DCT coefficients.
pVar   Pointer to a variance value.
srcStep   Source buffer step size (width of the buffer in bytes).

Description

The unsigned 8-bit version of this function evaluates the mean and variance of an 8x8 block of unsigned char values.

The signed 16-bit version evaluates the mean and variance of an 8x8 block of shor integer values.

Results are written to locations specified by pVar and pMean.