OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212f161
)
swscale: enable dithering in MMX functions.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Wed, 1 Feb 2012 15:38:57 +0000
(07:38 -0800)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Wed, 1 Feb 2012 17:33:29 +0000
(09:33 -0800)
This was accidently disabled.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libswscale/x86/swscale_mmx.c
patch
|
blob
|
history
diff --git
a/libswscale/x86/swscale_mmx.c
b/libswscale/x86/swscale_mmx.c
index
bd76640
..
29f31c3
100644
(file)
--- 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;