diff i386/dsputil_mmx.c @ 6057:03febc8f506f libavcodec

add MMX version for put_no_rnd_h264_chroma_mc8_c, used in VC-1 decoding. patch by Christophe GISQUET %christophe P gisquet A free P fr% original thread: date: Nov 25, 2007 12:35 AM subject: Re: [FFmpeg-devel] MMX version for put_no_rnd_h264_chroma_mc8_c
author gpoirier
date Fri, 21 Dec 2007 23:11:22 +0000
parents 558c1fd0ee72
children 1c67967d893b
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Fri Dec 21 12:38:41 2007 +0000
+++ b/i386/dsputil_mmx.c	Fri Dec 21 23:11:22 2007 +0000
@@ -3371,8 +3371,9 @@
             c->h263_v_loop_filter= h263_v_loop_filter_mmx;
             c->h263_h_loop_filter= h263_h_loop_filter_mmx;
         }
-        c->put_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_mmx;
+        c->put_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_mmx_rnd;
         c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_mmx;
+        c->put_no_rnd_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_mmx_nornd;
 
         c->h264_idct_dc_add=
         c->h264_idct_add= ff_h264_idct_add_mmx;
@@ -3485,7 +3486,7 @@
             dspfunc(avg_2tap_qpel, 1, 8);
 #undef dspfunc
 
-            c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_mmx2;
+            c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_mmx2_rnd;
             c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_mmx2;
             c->avg_h264_chroma_pixels_tab[2]= avg_h264_chroma_mc2_mmx2;
             c->put_h264_chroma_pixels_tab[2]= put_h264_chroma_mc2_mmx2;
@@ -3613,7 +3614,7 @@
             dspfunc(avg_2tap_qpel, 0, 16);
             dspfunc(avg_2tap_qpel, 1, 8);
 
-            c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_3dnow;
+            c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_3dnow_rnd;
             c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow;
         }