mips: Fix incorrect pointers to msa optimized functions
authorAnton Mitrofanov <BugMaster@narod.ru>
Sun, 22 Oct 2017 13:18:29 +0000 (16:18 +0300)
committerAnton Mitrofanov <BugMaster@narod.ru>
Sun, 24 Dec 2017 19:54:12 +0000 (22:54 +0300)
common/pixel.c

index 00c1412..d668491 100644 (file)
@@ -1501,8 +1501,8 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
         pixf->var[PIXEL_8x8]   = x264_pixel_var_8x8_msa;
       //pixf->var2[PIXEL_8x16]  = x264_pixel_var2_8x16_msa;
       //pixf->var2[PIXEL_8x8]   = x264_pixel_var2_8x8_msa;
-        pixf->sa8d[PIXEL_16x16] = x264_pixel_sa8d_16x16;
-        pixf->sa8d[PIXEL_8x8]   = x264_pixel_sa8d_8x8;
+        pixf->sa8d[PIXEL_16x16] = x264_pixel_sa8d_16x16_msa;
+        pixf->sa8d[PIXEL_8x8]   = x264_pixel_sa8d_8x8_msa;
     }
 #endif // HAVE_MSA