diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-02-12 23:48:07 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-02-12 23:48:07 +0000 |
commit | 5110b25e1e5926e56d40293e9d5c0b129966a56a (patch) | |
tree | 1bf0ae55e908e0eee247ffbda47afd770c329b86 /libavcodec/x86 | |
parent | 81b55ee5e7a1055f3b3a66b22362a9f8dfa5b9b9 (diff) | |
download | ffmpeg-streaming-5110b25e1e5926e56d40293e9d5c0b129966a56a.zip ffmpeg-streaming-5110b25e1e5926e56d40293e9d5c0b129966a56a.tar.gz |
convert ff_pw_64 into an xmm_reg for future use in vp6 sse code
Originally committed as revision 17192 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/cavsdsp_mmx.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_mmx.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/cavsdsp_mmx.c b/libavcodec/x86/cavsdsp_mmx.c index 012e6c6..6c2bdc1 100644 --- a/libavcodec/x86/cavsdsp_mmx.c +++ b/libavcodec/x86/cavsdsp_mmx.c @@ -148,7 +148,7 @@ static void cavs_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride) } for(i=0; i<2; i++){ - cavs_idct8_1d(b2+4*i, ff_pw_64); + cavs_idct8_1d(b2+4*i, ff_pw_64.a); __asm__ volatile( "psraw $7, %%mm7 \n\t" diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index bb8b692..4b18873 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -55,7 +55,7 @@ DECLARE_ALIGNED_8 (const uint64_t, ff_pw_20 ) = 0x0014001400140014ULL; DECLARE_ALIGNED_16(const xmm_reg, ff_pw_28 ) = {0x001C001C001C001CULL, 0x001C001C001C001CULL}; DECLARE_ALIGNED_16(const xmm_reg, ff_pw_32 ) = {0x0020002000200020ULL, 0x0020002000200020ULL}; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_42 ) = 0x002A002A002A002AULL; -DECLARE_ALIGNED_8 (const uint64_t, ff_pw_64 ) = 0x0040004000400040ULL; +DECLARE_ALIGNED_16(const xmm_reg, ff_pw_64 ) = {0x0040004000400040ULL, 0x0040004000400040ULL}; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_96 ) = 0x0060006000600060ULL; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_128) = 0x0080008000800080ULL; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_255) = 0x00ff00ff00ff00ffULL; diff --git a/libavcodec/x86/dsputil_mmx.h b/libavcodec/x86/dsputil_mmx.h index 3124519..52c5f8d 100644 --- a/libavcodec/x86/dsputil_mmx.h +++ b/libavcodec/x86/dsputil_mmx.h @@ -42,7 +42,7 @@ extern const uint64_t ff_pw_20; extern const xmm_reg ff_pw_28; extern const xmm_reg ff_pw_32; extern const uint64_t ff_pw_42; -extern const uint64_t ff_pw_64; +extern const xmm_reg ff_pw_64; extern const uint64_t ff_pw_96; extern const uint64_t ff_pw_128; extern const uint64_t ff_pw_255; |