[FFmpeg-devel] [PATCH] get_pixels_sse2
Michael Niedermayer
michaelni
Thu Oct 9 20:20:22 CEST 2008
On Thu, Oct 09, 2008 at 10:47:48AM -0700, Baptiste Coudurier wrote:
> Hi Michael,
>
> Michael Niedermayer wrote:
> > On Wed, Oct 08, 2008 at 06:48:30PM -0700, Baptiste Coudurier wrote:
[...]
> > [...]
> >> @@ -1332,7 +1366,11 @@
> >> }
> >> }
> >>
> >> - c->get_pixels = get_pixels_mmx;
> >> + if(mm_flags & MM_SSE2)
> >> + c->get_pixels = get_pixels_sse2;
> >> + else
> >> + c->get_pixels = get_pixels_mmx;
> >> +
> >> c->diff_pixels = diff_pixels_mmx;
> >> c->pix_sum = pix_sum16_mmx;
> >
> > there is a if(mm_flags & MM_SSE2) below, this could be used instead
> > of adding a new if()
>
> Ok, done.
>
> Updated patch attached.
ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081009/81972d26/attachment.pgp>
More information about the ffmpeg-devel
mailing list