[vlc-commits] arm_neon: Skip renaming assembler functions on the C level

Martin Storsjö git at videolan.org
Wed Feb 28 10:47:26 CET 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb 28 11:30:48 2018 +0200| [1a45c81d8869ac93f2dda49ff6f899bfade8c634] | committer: Martin Storsjö

arm_neon: Skip renaming assembler functions on the C level

Since ec4d9649d1c03fe8f578db38b41dccdf5e11b005, the assembler
takes care of adding the prefix for matching the C level name
mangling.

This fixes building arm_neon for iOS.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a45c81d8869ac93f2dda49ff6f899bfade8c634
---

 modules/arm_neon/chroma_neon.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/modules/arm_neon/chroma_neon.h b/modules/arm_neon/chroma_neon.h
index e516179e31..ca33747b80 100644
--- a/modules/arm_neon/chroma_neon.h
+++ b/modules/arm_neon/chroma_neon.h
@@ -48,54 +48,54 @@ struct yuv_pack
 /* I420 to YUYV conversion. */
 void i420_yuyv_neon (struct yuv_pack *const out,
                      const struct yuv_planes *const in,
-                     int width, int height) asm("i420_yuyv_neon");
+                     int width, int height);
 
 /* I420 to UYVY conversion. */
 void i420_uyvy_neon (struct yuv_pack *const out,
                      const struct yuv_planes *const in,
-                     int width, int height) asm("i420_uyvy_neon");
+                     int width, int height);
 
 /* I422 to YUYV conversion. */
 void i422_yuyv_neon (struct yuv_pack *const out,
                      const struct yuv_planes *const in,
-                     int width, int height) asm("i422_yuyv_neon");
+                     int width, int height);
 
 /* I422 to UYVY conversion. */
 void i422_uyvy_neon (struct yuv_pack *const out,
                      const struct yuv_planes *const in,
-                     int width, int height) asm("i422_uyvy_neon");
+                     int width, int height);
 
 /* YUYV to I422 conversion. */
 void yuyv_i422_neon (struct yuv_planes *const out,
                      const struct yuv_pack *const in,
-                     int width, int height) asm("yuyv_i422_neon");
+                     int width, int height);
 
 /* UYVY to I422 conversion. */
 void uyvy_i422_neon (struct yuv_planes *const out,
                      const struct yuv_pack *const in,
-                     int width, int height) asm("uyvy_i422_neon");
+                     int width, int height);
 
 /* Semiplanar to planar conversion. */
 void deinterleave_chroma_neon (struct uv_planes *const out,
                                const struct yuv_pack *const in,
-                               int width, int height) asm("deinterleave_chroma_neon");
+                               int width, int height);
 
 /* I420 to RGBA conversion. */
 void i420_rgb_neon (struct yuv_pack *const out,
                     const struct yuv_planes *const in,
-                    int width, int height) asm("i420_rgb_neon");
+                    int width, int height);
 
 /* I420 to RV16 conversion. */
 void i420_rv16_neon (struct yuv_pack *const out,
                      const struct yuv_planes *const in,
-                     int width, int height) asm("i420_rv16_neon");
+                     int width, int height);
 
 /* NV21 to RGBA conversion. */
 void nv21_rgb_neon (struct yuv_pack *const out,
                     const struct yuv_planes *const in,
-                    int width, int height) asm("nv21_rgb_neon");
+                    int width, int height);
 
 /* NV12 to RGBA conversion. */
 void nv12_rgb_neon (struct yuv_pack *const out,
                     const struct yuv_planes *const in,
-                    int width, int height) asm("nv12_rgb_neon");
+                    int width, int height);



More information about the vlc-commits mailing list