aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/dsputil_mmx.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2008-02-05 01:16:48 +0000
committerLoren Merritt <lorenm@u.washington.edu>2008-02-05 01:16:48 +0000
commitfa9b873e08b7aceaa554072a3dbd8c89effb54a1 (patch)
treecd949aabe53a2c69818e31b0e169416bf5bf4a4d /libavcodec/i386/dsputil_mmx.h
parent37b74c865168d8762e498ce93c527b9d2bb1c0f8 (diff)
downloadffmpeg-fa9b873e08b7aceaa554072a3dbd8c89effb54a1.tar.gz
clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.
Originally committed as revision 11868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.h')
-rw-r--r--libavcodec/i386/dsputil_mmx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/i386/dsputil_mmx.h b/libavcodec/i386/dsputil_mmx.h
index 7a6e62df66..c0846ca160 100644
--- a/libavcodec/i386/dsputil_mmx.h
+++ b/libavcodec/i386/dsputil_mmx.h
@@ -24,6 +24,8 @@
#include <stdint.h>
+typedef struct { uint64_t a, b; } xmm_t;
+
extern const uint64_t ff_bone;
extern const uint64_t ff_wtwo;
@@ -36,7 +38,7 @@ extern const uint64_t ff_pw_8;
extern const uint64_t ff_pw_15;
extern const uint64_t ff_pw_16;
extern const uint64_t ff_pw_20;
-extern const uint64_t ff_pw_32[2];
+extern const xmm_t ff_pw_32;
extern const uint64_t ff_pw_42;
extern const uint64_t ff_pw_64;
extern const uint64_t ff_pw_96;