[XviD-devel] [PATCH] Faster direct/interpolate bvop block interpolation

Edouard Gomez ed.gomez at free.fr
Sat Jul 24 01:02:05 CEST 2004


Yep i confirm, skal, your code isn't right.

Here is my test process just in case you doubt:
 - First compile 1.0.1 or head (i force cpu_flags=0 in xvid.c)
 - then i use mplayer
mplayer -frames 300 -vo md5 -nosound -benchmark -vc xvid seq.avi
 - mv md5 plop-orig.txt
 - Then compile head + updated patch (i still force cpu_flags=0)
 - redo the mplayer step
 - diff -u md5 plop-orig.txt (outputs nothing)
 - change one of the 4 halfpel_(h|v)_add functions to a xmm
   one
 - redo the mplayer step
 - diff -u md5 plop-orig.txt (outputs different md5 for all
   bvops)

Updated patch is available there:
http://ed.gomez.free.fr/vrac/xvid-patches/faster-bvop-interpolation.diff

xmm code doesn't match the spec, or we're doing wrong in xvid
since ever. I hope it'syour code that is wrong :-)

-- 
Edouard Gomez


More information about the XviD-devel mailing list