[x264-devel] arm: use the weight_fn_t typedef for mc weight function arrays
Janne Grunau
git at videolan.org
Wed Apr 23 00:40:59 CEST 2014
x264 | branch: master | Janne Grunau <janne-x264 at jannau.net> | Tue Apr 1 22:11:45 2014 +0200| [448875d9dc8fa5924ebd365e5c31c160e4836d53] | committer: Jason Garrett-Glaser
arm: use the weight_fn_t typedef for mc weight function arrays
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=448875d9dc8fa5924ebd365e5c31c160e4836d53
---
common/arm/mc-c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/arm/mc-c.c b/common/arm/mc-c.c
index 4780961..3805e73 100644
--- a/common/arm/mc-c.c
+++ b/common/arm/mc-c.c
@@ -68,7 +68,7 @@ void x264_mc_weight_w16##func##_neon( uint8_t *, intptr_t, uint8_t *, intptr_t,
void x264_mc_weight_w8##func##_neon ( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int );\
void x264_mc_weight_w4##func##_neon ( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int );\
\
-static void (* const x264_mc##func##_wtab_neon[6])( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int ) =\
+static weight_fn_t x264_mc##func##_wtab_neon[6] =\
{\
x264_mc_weight_w4##func##_neon,\
x264_mc_weight_w4##func##_neon,\
More information about the x264-devel
mailing list