[MPlayer-dev-eng] [patch] threads support for XviD

Guillaume POIRIER poirierg at gmail.com
Tue Feb 28 15:30:55 CET 2006


Hi,

On 2/28/06, Rich Felker <dalias at aerifal.cx> wrote:
> On Tue, Feb 28, 2006 at 02:53:58PM +0200, Ivan Kalvachev wrote:
> > Then commit.

Ok.

> > BTW would thread=1 start encoding in single separate thread? This
> > could boost speed on SMP machines without quality loss.
>
> Huh? How would this work? The caller would just sit idle waiting for
> that thread to finish...

The main thread takes care everything but the motion estimation, all
additionnal threads take care of motion estimation only.

So yes, thread=1 is probably as lossless as you can get with this
code. However, Syskin says that  no matter the number of threads (>1)
the resulting files are identical... so it looks like it just doesn't
matter.

Guillaume

--
Reinventing the wheel certainly is annoying, but as long as all other
wheels are square...

Reimar Döffinger




More information about the MPlayer-dev-eng mailing list