projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5ed69
)
dsputil x86: revert a test back to its previous value
author
Christophe GISQUET
<christophe.gisquet@gmail.com>
Wed, 28 Mar 2012 21:22:22 +0000
(23:22 +0200)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Sat, 28 Apr 2012 18:00:51 +0000
(11:00 -0700)
Commit
356ee8d
caused the initial inversion.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/x86/dsputil_mmx.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/dsputil_mmx.c
b/libavcodec/x86/dsputil_mmx.c
index 89be32840dc61f5aef7906bb18fee0afcb13cd18..3ef19c5d136bacc0a6092a55a55a9509e983e857 100644
(file)
--- a/
libavcodec/x86/dsputil_mmx.c
+++ b/
libavcodec/x86/dsputil_mmx.c
@@
-2961,7
+2961,7
@@
static void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx,
const int bit_depth = avctx->bits_per_raw_sample;
const int high_bit_depth = bit_depth > 8;
- if (
mm_flags & AV_CPU_FLAG_3DNOW
) {
+ if (
!(mm_flags & AV_CPU_FLAG_SSE2SLOW)
) {
// these functions are slower than mmx on AMD, but faster on Intel
if (!high_bit_depth) {
c->put_pixels_tab[0][0] = put_pixels16_sse2;