summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-18 16:40:07 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-18 16:40:07 +0000
commit8c86c5cc587976c40ff9de07063e1512ce588ccf (patch)
treef99ce2dc9afb540ef9a4be315dc4a45a83624ee7 /libswscale
parenta386897c24f8bf44816cb466eda6c3c1508c2e6a (diff)
downloadmpv-8c86c5cc587976c40ff9de07063e1512ce588ccf.tar.bz2
mpv-8c86c5cc587976c40ff9de07063e1512ce588ccf.tar.xz
fix red_15mask and green_15mask. the previous values were wrong and caused
some SIMD functions to output wrong data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23021 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/rgb2rgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
index 59b24ccd80..89dd3973a5 100644
--- a/libswscale/rgb2rgb.c
+++ b/libswscale/rgb2rgb.c
@@ -122,8 +122,8 @@ static const uint64_t mask16r __attribute__((aligned(8))) = 0xF800F800F800F800U
static const uint64_t red_16mask __attribute__((aligned(8))) = 0x0000f8000000f800ULL;
static const uint64_t green_16mask __attribute__((aligned(8)))= 0x000007e0000007e0ULL;
static const uint64_t blue_16mask __attribute__((aligned(8))) = 0x0000001f0000001fULL;
-static const uint64_t red_15mask __attribute__((aligned(8))) = 0x00007c000000f800ULL;
-static const uint64_t green_15mask __attribute__((aligned(8)))= 0x000003e0000007e0ULL;
+static const uint64_t red_15mask __attribute__((aligned(8))) = 0x00007c0000007c00ULL;
+static const uint64_t green_15mask __attribute__((aligned(8)))= 0x000003e0000003e0ULL;
static const uint64_t blue_15mask __attribute__((aligned(8))) = 0x0000001f0000001fULL;
#ifdef FAST_BGR2YV12