diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 23:43:48 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 23:43:48 +0000 |
commit | 9a93e7607aa958d83d2612f4fc34e33cfbe414c5 (patch) | |
tree | bd4c5d082d4521de5b1853917cc5b1b61b376698 /postproc/swscale.c | |
parent | 1dbeaf91541e7b7ba685df92d02555b9a05d9d15 (diff) | |
download | mpv-9a93e7607aa958d83d2612f4fc34e33cfbe414c5.tar.bz2 mpv-9a93e7607aa958d83d2612f4fc34e33cfbe414c5.tar.xz |
bgr24toUV in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r-- | postproc/swscale.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |