Menu

Commit [r2707]  Maximize  Restore  History

- add 1 to mmx version as found by Stephen Beahm:

Both the C-reference and altivec versions of bsumsq_sub22_mmx() implement the
following:
v = ((p1f[i]+p1b[i]+1)>>1) - p2[i];

The mmx version does not add the one (+1).

- make twos[] static, so it doesn't have to be pushed on the stack everytime the function sumsq_mmx() is called

gertv 2005-03-29

changed /trunk/mjpeg_play/utils/mmxsse/mblock_sumsq_mmx.c
/trunk/mjpeg_play/utils/mmxsse/mblock_sumsq_mmx.c Diff Switch to side-by-side view
Loading...
Auth0 Logo