[x264-devel] [PATCH 05/32] ppc: Adjust altivec function suffix

Vittorio Giovara vittorio.giovara at gmail.com
Fri Jan 20 15:20:30 CET 2017


Architecture should always be the last element.
---
 common/mc.c        | 2 +-
 common/pixel.c     | 2 +-
 common/ppc/mc.c    | 2 +-
 common/ppc/mc.h    | 2 +-
 common/ppc/pixel.c | 2 +-
 common/ppc/pixel.h | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/common/mc.c b/common/mc.c
index dc39c5e..643b8af 100644
--- a/common/mc.c
+++ b/common/mc.c
@@ -667,7 +667,7 @@ void x264_mc_init( int cpu, x264_mc_functions_t *pf, int cpu_independent )
 #endif
 #if HAVE_ALTIVEC
     if( cpu&X264_CPU_ALTIVEC )
-        x264_mc_altivec_init( pf );
+        x264_mc_init_altivec( pf );
 #endif
 #if HAVE_ARMV6
     x264_mc_init_arm( cpu, pf );
diff --git a/common/pixel.c b/common/pixel.c
index 4db4b46..1541769 100644
--- a/common/pixel.c
+++ b/common/pixel.c
@@ -1491,7 +1491,7 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
 #if HAVE_ALTIVEC
     if( cpu&X264_CPU_ALTIVEC )
     {
-        x264_pixel_altivec_init( pixf );
+        x264_pixel_init_altivec( pixf );
     }
 #endif
 
diff --git a/common/ppc/mc.c b/common/ppc/mc.c
index a6e5f70..a6936a7 100644
--- a/common/ppc/mc.c
+++ b/common/ppc/mc.c
@@ -1215,7 +1215,7 @@ static weight_fn_t x264_mc_weight_wtab_altivec[6] =
 PLANE_COPY_SWAP(16, altivec)
 PLANE_INTERLEAVE(altivec)
 
-void x264_mc_altivec_init( x264_mc_functions_t *pf )
+void x264_mc_init_altivec( x264_mc_functions_t *pf )
 {
 #if !HIGH_BIT_DEPTH
     pf->mc_luma   = mc_luma_altivec;
diff --git a/common/ppc/mc.h b/common/ppc/mc.h
index 923c66f..0882d04 100644
--- a/common/ppc/mc.h
+++ b/common/ppc/mc.h
@@ -26,6 +26,6 @@
 #ifndef X264_PPC_MC_H
 #define X264_PPC_MC_H
 
-void x264_mc_altivec_init( x264_mc_functions_t *pf );
+void x264_mc_init_altivec( x264_mc_functions_t *pf );
 
 #endif
diff --git a/common/ppc/pixel.c b/common/ppc/pixel.c
index 567fe7f..12d8030 100644
--- a/common/ppc/pixel.c
+++ b/common/ppc/pixel.c
@@ -1774,7 +1774,7 @@ INTRA_MBCMP(satd, 16, v, h, dc, )
 /****************************************************************************
  * x264_pixel_init:
  ****************************************************************************/
-void x264_pixel_altivec_init( x264_pixel_function_t *pixf )
+void x264_pixel_init_altivec( x264_pixel_function_t *pixf )
 {
 #if !HIGH_BIT_DEPTH
     pixf->sad[PIXEL_16x16]  = pixel_sad_16x16_altivec;
diff --git a/common/ppc/pixel.h b/common/ppc/pixel.h
index 5e829f9..1c44037 100644
--- a/common/ppc/pixel.h
+++ b/common/ppc/pixel.h
@@ -26,6 +26,6 @@
 #ifndef X264_PPC_PIXEL_H
 #define X264_PPC_PIXEL_H
 
-void x264_pixel_altivec_init( x264_pixel_function_t *pixf );
+void x264_pixel_init_altivec( x264_pixel_function_t *pixf );
 
 #endif
-- 
2.10.0



More information about the x264-devel mailing list