Use INLINE and include vpx_config.h instead of plain 'inline'
authorMartin Storsjo <martin@martin.st>
Sun, 4 May 2014 16:09:30 +0000 (19:09 +0300)
committerMartin Storsjo <martin@martin.st>
Sun, 4 May 2014 19:42:13 +0000 (22:42 +0300)
This fixes compilation with MSVC.

Change-Id: Iaf7d6b0a0134968a6addf315fde6d852f298db8c

vp8/common/arm/neon/loopfilter_neon.c
vp8/common/arm/neon/loopfiltersimplehorizontaledge_neon.c
vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.c
vp8/common/arm/neon/mbloopfilter_neon.c

index 47f522bc67a396c736778a62bf541a85a990ee1a..be77e672634f349247de00f03e743f69cdc76487 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 #include <arm_neon.h>
+#include "./vpx_config.h"
 
-static inline void vp8_loop_filter_neon(
+static INLINE void vp8_loop_filter_neon(
         uint8x16_t qblimit,  // flimit
         uint8x16_t qlimit,   // limit
         uint8x16_t qthresh,  // thresh
index 3d024e0689a4011521612a6b7473d50166be275d..b25686ffb88bf879b9ec2edd3b1fe9937328b390 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 #include <arm_neon.h>
+#include "./vpx_config.h"
 
-static inline void vp8_loop_filter_simple_horizontal_edge_neon(
+static INLINE void vp8_loop_filter_simple_horizontal_edge_neon(
         unsigned char *s,
         int p,
         const unsigned char *blimit) {
index 68bcde412e933e44ee07bd6944a45f752f1c1b18..b0952b5823b524692365fb8e242ba90bc447b52d 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 #include <arm_neon.h>
+#include "./vpx_config.h"
 
-static inline void vp8_loop_filter_simple_vertical_edge_neon(
+static INLINE void vp8_loop_filter_simple_vertical_edge_neon(
         unsigned char *s,
         int p,
         const unsigned char *blimit) {
index 396031720416cdd1dbd04bf27cab53ab26c63e9a..5351f4be665bb2057f6eb3d8e5a22fe2d6eeb361 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 #include <arm_neon.h>
+#include "./vpx_config.h"
 
-static inline void vp8_mbloop_filter_neon(
+static INLINE void vp8_mbloop_filter_neon(
         uint8x16_t qblimit,  // mblimit
         uint8x16_t qlimit,   // limit
         uint8x16_t qthresh,  // thresh