summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-09-29 15:34:43 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-09-29 15:34:43 +0000
commit329d689f7563bd0da3e7fc8493756cb2185ed088 (patch)
tree5af0a997c43fb612a214f122bcc647a9068bf1c2 /libavcodec/x86
parent77336a5e1287d1cf35375075054717963f5e1421 (diff)
Use sse2 variant of put_pixels16() for no_rnd also. Provides a minor speed
increase to e.g. vc1, snow and mpeg decoding. Patch by Eli Friedman <eli dot friedman gmail com>. Originally committed as revision 25259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/dsputil_mmx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index a4480f71b2..3f00762a86 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2820,6 +2820,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
if((mm_flags & AV_CPU_FLAG_SSE2) && !(mm_flags & AV_CPU_FLAG_3DNOW)){
// these functions are slower than mmx on AMD, but faster on Intel
c->put_pixels_tab[0][0] = put_pixels16_sse2;
+ c->put_no_rnd_pixels_tab[0][0] = put_pixels16_sse2;
c->avg_pixels_tab[0][0] = avg_pixels16_sse2;
H264_QPEL_FUNCS(0, 0, sse2);
}