diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-02-09 23:43:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-02-09 23:43:48 +0000 |
commit | 4342fc14dcccc11dfde822824eae1a3ef1a4c309 (patch) | |
tree | 0d93f513aef723ac8b858dcc3852fce1307a5713 /postproc/swscale.c | |
parent | ac6a2e4550d27bfd23c0c096b1ee10b1d76de213 (diff) | |
download | ffmpeg-4342fc14dcccc11dfde822824eae1a3ef1a4c309.tar.gz |
bgr24toUV in MMX
Originally committed as revision 4620 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
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 |