factor sum_abs_dctelem out of dct_sad, and simd it.
authorLoren Merritt <lorenm@u.washington.edu>
Sat, 12 May 2007 02:41:25 +0000 (02:41 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Sat, 12 May 2007 02:41:25 +0000 (02:41 +0000)
commit1edbfe19948e3852922660fe01252ff7d37ead72
treebf4723612da5d004fb35f7ad18dd9e024d6002dc
parent561f940c03de8904433efca63b084ca2d93c3126
factor sum_abs_dctelem out of dct_sad, and simd it.
 sum_abs_dctelem_* alone:
core2: c=186 mmx2=39 sse2=21 ssse3=13 (cycles)
k8: c=163 mmx2=33 sse2=31
p4: c=370 mmx2=60 sse2=60
 dct_sad including sum_abs_dctelem_*:
core2: c=405 mmx2=258 sse2=240 ssse3=232
k8: c=624 mmx2=394 sse2=392
p4: c=849 mmx2=556 sse2=556

Originally committed as revision 9001 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/i386/dsputil_mmx.c