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

Martin Storsjö git at videolan.org
Wed Feb 28 11:07:59 CET 2018


vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb 28 11:30:48 2018 +0200| [2d394cec3fbb054fc2d378869392c9df465e9dc6] | committer: Thomas Guillem

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.

(cherry picked from commit 1a45c81d8869ac93f2dda49ff6f899bfade8c634)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2d394cec3fbb054fc2d378869392c9df465e9dc6
---

 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