[XviD-devel] multithreaded pvop-ME

Radek Czyz radoslaw at syskin.cjb.net
Mon Dec 19 10:39:04 CET 2005


Heyhey,

New patch. This time, b-frames multithreaded too - just simply divided 
into slices. Unlike pframes, this changes bistream a bit because at the 
slice boundary there's no motion prediction from top, but the loss is 
insignificant.

full patch (pframes and bframes) : http://syskin.is.dreaming.org/smp2.patch

Both dispatcher functions should probably go to encoder.c so that they 
can add another thread, actually doing the encoding. I'll find best 
place later, for now, this kludge is good enough.

Question, what's pthread equivalent of win32's Sleep(0)? (and BeOS too).

Regards,
Radek


More information about the XviD-devel mailing list