[FFmpeg-cvslog] r23865 - in trunk/libavcodec/x86: h264dsp_mmx.c vp8dsp-init.c

bcoudurier subversion
Mon Jun 28 23:12:00 CEST 2010


Author: bcoudurier
Date: Mon Jun 28 23:12:00 2010
New Revision: 23865

Log:
Change MMXEXT to MMX2, MMXEXT is deprecated

Modified:
   trunk/libavcodec/x86/h264dsp_mmx.c
   trunk/libavcodec/x86/vp8dsp-init.c

Modified: trunk/libavcodec/x86/h264dsp_mmx.c
==============================================================================
--- trunk/libavcodec/x86/h264dsp_mmx.c	Mon Jun 28 23:02:16 2010	(r23864)
+++ trunk/libavcodec/x86/h264dsp_mmx.c	Mon Jun 28 23:12:00 2010	(r23865)
@@ -2364,7 +2364,7 @@ void ff_h264_pred_init_x86(H264PredConte
         }
     }
 
-    if (mm_flags & FF_MM_MMXEXT) {
+    if (mm_flags & FF_MM_MMX2) {
         h->pred16x16[HOR_PRED8x8 ] = ff_pred16x16_horizontal_mmxext;
         h->pred16x16[DC_PRED8x8  ] = ff_pred16x16_dc_mmxext;
         h->pred8x8  [HOR_PRED8x8 ] = ff_pred8x8_horizontal_mmxext;

Modified: trunk/libavcodec/x86/vp8dsp-init.c
==============================================================================
--- trunk/libavcodec/x86/vp8dsp-init.c	Mon Jun 28 23:02:16 2010	(r23864)
+++ trunk/libavcodec/x86/vp8dsp-init.c	Mon Jun 28 23:12:00 2010	(r23865)
@@ -236,7 +236,7 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPCo
 
     /* note that 4-tap width=16 functions are missing because w=16
      * is only used for luma, and luma is always a copy or sixtap. */
-    if (mm_flags & FF_MM_MMXEXT) {
+    if (mm_flags & FF_MM_MMX2) {
         VP8_LUMA_MC_FUNC(0, 16, mmxext);
         VP8_MC_FUNC(1, 8, mmxext);
         VP8_MC_FUNC(1, 4, mmxext);



More information about the ffmpeg-cvslog mailing list