Evaluate sum of absolute difference, 4x4 block
SSE2
FwStatus | fwiSAD4x4_8u32s | ( | const Fw8u * pSrc, Fw32s srcStep, Fw8u * pRef, Fw32s refStep, Fw32s * pSAD, Fw32s mcType ); |
mcType | Specifies the type of prediction used for motion compensation. | |
pRef | Pointer to a prefetch buffer which contains previously decoded bits. | |
pSAD | Pointer to an SAD result. | |
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). |
This function evaluates the sum of absolute difference between the elements of a 4X4 block and the corresponding elements of a reference block. The integer result is stored in the location pointed to by pSAD.