From 9a93e7607aa958d83d2612f4fc34e33cfbe414c5 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 9 Feb 2002 23:43:48 +0000 Subject: bgr24toUV in MMX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2 --- postproc/swscale.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'postproc/swscale.c') diff --git a/postproc/swscale.c b/postproc/swscale.c index dbd381c943..5610b65dcd 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -182,10 +182,15 @@ static uint64_t __attribute__((aligned(8))) M24C= 0x0000FF0000FF0000LL; #ifdef FAST_BGR2YV12 static const uint64_t bgr2YCoeff __attribute__((aligned(8))) = 0x000000210041000DULL; +static const uint64_t bgr2UCoeff __attribute__((aligned(8))) = 0x0000FFEEFFDC0038ULL; +static const uint64_t bgr2VCoeff __attribute__((aligned(8))) = 0x00000038FFD2FFF8ULL; #else static const uint64_t bgr2YCoeff __attribute__((aligned(8))) = 0x000020E540830C8BULL; +static const uint64_t bgr2UCoeff __attribute__((aligned(8))) = 0x0000ED0FDAC23831ULL; +static const uint64_t bgr2VCoeff __attribute__((aligned(8))) = 0x00003831D0E6F6EAULL; #endif static const uint64_t bgr2YOffset __attribute__((aligned(8))) = 0x1010101010101010ULL; +static const uint64_t bgr2UVOffset __attribute__((aligned(8)))= 0x8080808080808080ULL; static const uint64_t w1111 __attribute__((aligned(8))) = 0x0001000100010001ULL; // FIXME remove -- cgit v1.2.3