aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-01 07:38:57 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-01 09:33:29 -0800
commit378c5ef9ae1a504b5e363c5fa7193c3b4ca2267f (patch)
tree1925e15a7dee51c823f69bae462ed834854f15fe /libswscale/x86
parent212f161caada76b083ebaca21449c58162e5419d (diff)
downloadffmpeg-378c5ef9ae1a504b5e363c5fa7193c3b4ca2267f.tar.gz
swscale: enable dithering in MMX functions.
This was accidently disabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libswscale/x86')
-rw-r--r--libswscale/x86/swscale_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/x86/swscale_mmx.c b/libswscale/x86/swscale_mmx.c
index bd7664094e..29f31c329b 100644
--- a/libswscale/x86/swscale_mmx.c
+++ b/libswscale/x86/swscale_mmx.c
@@ -27,6 +27,8 @@
#include "libavutil/cpu.h"
#include "libavutil/pixdesc.h"
+#define DITHER1XBPP
+
DECLARE_ASM_CONST(8, uint64_t, bF8)= 0xF8F8F8F8F8F8F8F8LL;
DECLARE_ASM_CONST(8, uint64_t, bFC)= 0xFCFCFCFCFCFCFCFCLL;
DECLARE_ASM_CONST(8, uint64_t, w10)= 0x0010001000100010LL;