diff i386/dsputil_mmx.c @ 3105:2d35fb3cb940 libavcodec

h264: special case dc-only idct. ~1% faster overall
author lorenm
date Fri, 10 Feb 2006 06:55:25 +0000
parents 072dbc669253
children 9a2cc7b0fbdb
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Fri Feb 10 01:19:54 2006 +0000
+++ b/i386/dsputil_mmx.c	Fri Feb 10 06:55:25 2006 +0000
@@ -2754,6 +2754,8 @@
 #endif //CONFIG_ENCODERS
 
             c->h264_idct_add= ff_h264_idct_add_mmx2;
+            c->h264_idct_dc_add= ff_h264_idct_dc_add_mmx2;
+            c->h264_idct8_dc_add= ff_h264_idct8_dc_add_mmx2;
 
             if(!(avctx->flags & CODEC_FLAG_BITEXACT)){
                 c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_mmx2;