[MPlayer-dev-eng] Re: PATCH] SSE2-optimized libmpeg2 motion compensation

Jindrich Makovicka makovick at gmail.com
Wed Jun 14 17:14:48 CEST 2006


On 6/14/06, Matthias Wieser <mwieser at gmx.de> wrote:
> Am Mittwoch, 14. Juni 2006 13:39 schrieb jserv at linux2.cc.ntu.edu.tw:
> > Hello list,
> >
> >   Recently, I implement SSE2-optimized libmpeg2 motion compensation, and
> > I think that it might be useful to MPlayer. I have attached the patch in
> > this mail.
> >
> >   The performance gain over the original MMXext(MMX2)-based motion
> > compensation implementation in libmpeg2 is as the following:
> >
> > MMXext-based
> > ============
> >       cumulative
> >  time   seconds   seconds    calls  ms/call  ms/call  name
> >   3.14     61.54     2.59  1826892     0.00     0.01  mpeg2_idct_copy_mmxext
> >
> > SSE2-based
> > ==========
> >   2.93     62.22     2.38   112816     0.02     0.02  MC_avg_xy_16_sse2
>             ^^^^^^
>
> The sse2 version is slower?

These numbers aren't comparable, just try to add the percentages. The
SSE2 version is slightly faster.

-- 
Jindrich Makovicka



More information about the MPlayer-dev-eng mailing list