diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-04-01 04:51:28 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-04-01 04:51:28 +0000 |
commit | ce53144bac00bff5e7fd682c4d72daf80b21d6fb (patch) | |
tree | 9509b539307770ff2e77694d01863582a42ca0d8 /libavcodec/i386/dsputil_h264_template_mmx.c | |
parent | 4e0af031f1a5ef9230a62403b7e4c6cf61183d55 (diff) | |
download | ffmpeg-ce53144bac00bff5e7fd682c4d72daf80b21d6fb.tar.gz |
h264 chroma mc ssse3
width8: 180->92, width4: 78->63 cycles (core2)
Originally committed as revision 12661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_h264_template_mmx.c')
-rw-r--r-- | libavcodec/i386/dsputil_h264_template_mmx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c index e36c440757..6aff9ff50d 100644 --- a/libavcodec/i386/dsputil_h264_template_mmx.c +++ b/libavcodec/i386/dsputil_h264_template_mmx.c @@ -27,7 +27,6 @@ */ static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y, int rnd) { - DECLARE_ALIGNED_8(static const uint64_t, ff_pw_28) = 0x001C001C001C001CULL; const uint64_t *rnd_reg; DECLARE_ALIGNED_8(uint64_t, AA); DECLARE_ALIGNED_8(uint64_t, DD); @@ -98,7 +97,7 @@ static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1* } /* general case, bilinear */ - rnd_reg = rnd ? &ff_pw_32.a : &ff_pw_28; + rnd_reg = rnd ? &ff_pw_32.a : &ff_pw_28.a; asm volatile("movd %2, %%mm4\n\t" "movd %3, %%mm6\n\t" "punpcklwd %%mm4, %%mm4\n\t" |