aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86/yuv2rgb_mmx.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2010-05-19 13:31:11 +0000
committerLoren Merritt <lorenm@u.washington.edu>2010-05-19 13:31:11 +0000
commit8a26b2c665672a5883b85283c3e2ec5bbb60acec (patch)
tree79a75ce19c874c86b40f6f9567e569c4a4fa6b7c /libswscale/x86/yuv2rgb_mmx.c
parent8d168a9207f231c22a04a5a2b252d0ab89477b02 (diff)
downloadffmpeg-8a26b2c665672a5883b85283c3e2ec5bbb60acec.tar.gz
13% faster yuv420 to rgb15 mmx.
It is now faster than the old gpl version on conroe. Originally committed as revision 31181 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/x86/yuv2rgb_mmx.c')
-rw-r--r--libswscale/x86/yuv2rgb_mmx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/x86/yuv2rgb_mmx.c b/libswscale/x86/yuv2rgb_mmx.c
index d042421ff7..7d3ab7150b 100644
--- a/libswscale/x86/yuv2rgb_mmx.c
+++ b/libswscale/x86/yuv2rgb_mmx.c
@@ -41,6 +41,9 @@
DECLARE_ASM_CONST(8, uint64_t, mmx_00ffw) = 0x00ff00ff00ff00ffULL;
DECLARE_ASM_CONST(8, uint64_t, mmx_redmask) = 0xf8f8f8f8f8f8f8f8ULL;
DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL;
+DECLARE_ASM_CONST(8, uint64_t, pb_e0) = 0xe0e0e0e0e0e0e0e0ULL;
+DECLARE_ASM_CONST(8, uint64_t, pb_03) = 0x0303030303030303ULL;
+DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL;
//MMX versions
#undef RENAME