diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 22:42:00 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 22:42:00 +0000 |
commit | fabb1b271a3f55cb5d0a3b2dbefc0da910ecd70c (patch) | |
tree | f09fe1bcbc177c762ca6a614599cd377e2b26457 /libmpcodecs/vd_libmpeg2.c | |
parent | 751c9867194aac6a59630c66bd56e43a13296de2 (diff) | |
download | mpv-fabb1b271a3f55cb5d0a3b2dbefc0da910ecd70c.tar.bz2 mpv-fabb1b271a3f55cb5d0a3b2dbefc0da910ecd70c.tar.xz |
Backport SSE2-optimized IDCT routines from upstream libmpeg2.
Thanks to Alexander Strange for finding and fixing some bugs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26425 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_libmpeg2.c')
-rw-r--r-- | libmpcodecs/vd_libmpeg2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c index 4dbb807750..c8ca0e92b6 100644 --- a/libmpcodecs/vd_libmpeg2.c +++ b/libmpcodecs/vd_libmpeg2.c @@ -74,6 +74,8 @@ static int init(sh_video_t *sh){ accel |= MPEG2_ACCEL_X86_MMXEXT; if(gCpuCaps.has3DNow) accel |= MPEG2_ACCEL_X86_3DNOW; + if(gCpuCaps.hasSSE2) + accel |= MPEG2_ACCEL_X86_SSE2; if(gCpuCaps.hasAltiVec) accel |= MPEG2_ACCEL_PPC_ALTIVEC; #ifdef HAVE_VIS |