[FFmpeg-cvslog] swscale: enable dithering in MMX functions.

Ronald S. Bultje git at videolan.org
Thu Feb 2 02:46:27 CET 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Wed Feb  1 07:38:57 2012 -0800| [378c5ef9ae1a504b5e363c5fa7193c3b4ca2267f] | committer: Ronald S. Bultje

swscale: enable dithering in MMX functions.

This was accidently disabled.

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=378c5ef9ae1a504b5e363c5fa7193c3b4ca2267f
---

 libswscale/x86/swscale_mmx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libswscale/x86/swscale_mmx.c b/libswscale/x86/swscale_mmx.c
index bd76640..29f31c3 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;



More information about the ffmpeg-cvslog mailing list