]> git.sesse.net Git - vlc/blobdiff - plugins/motion/vdec_motion_inner_mmx.c
* Applied old FreeBSD patch for dvd input by German Tischler.
[vlc] / plugins / motion / vdec_motion_inner_mmx.c
index a6bb13b9ecde30e8988f2b482e62850dfc3e6665..11db6863be6a304caaa2f14c4368e4eb34e5ef8d 100644 (file)
@@ -3,7 +3,7 @@
  *                           MMX
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: vdec_motion_inner_mmx.c,v 1.1 2001/01/18 05:13:22 sam Exp $
+ * $Id: vdec_motion_inner_mmx.c,v 1.2 2001/06/07 15:27:44 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>, largerly inspired by the
  *          work done by the livid project <http://www.linuxvideo.org/>
@@ -23,6 +23,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#include "modules_inner.h"
+
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
@@ -259,7 +261,7 @@ static __inline__ void MMXInterpAverage4( u8 *dst, u8 *src1, u8 *src2,
 #define pavg_m2r(src,dest)      pavgusb_m2r (src, dest);
 
 #define __MotionComponent_x_y_copy(width,height)                            \
-void MotionComponent_x_y_copy_##width##_##height(yuv_data_t * p_src,        \
+void _M(MotionComponent_x_y_copy_##width##_##height)(yuv_data_t * p_src,    \
                                                  yuv_data_t * p_dest,       \
                                                  int i_stride)              \
 {                                                                           \
@@ -282,7 +284,7 @@ void MotionComponent_x_y_copy_##width##_##height(yuv_data_t * p_src,        \
 }
 
 #define __MotionComponent_X_y_copy(width,height)                            \
-void MotionComponent_X_y_copy_##width##_##height(yuv_data_t * p_src,        \
+void _M(MotionComponent_X_y_copy_##width##_##height)(yuv_data_t * p_src,    \
                                                  yuv_data_t * p_dest,       \
                                                  int i_stride)              \
 {                                                                           \
@@ -305,7 +307,7 @@ void MotionComponent_X_y_copy_##width##_##height(yuv_data_t * p_src,        \
 }
 
 #define __MotionComponent_x_Y_copy(width,height)                            \
-void MotionComponent_x_Y_copy_##width##_##height(yuv_data_t * p_src,        \
+void _M(MotionComponent_x_Y_copy_##width##_##height)(yuv_data_t * p_src,    \
                                                  yuv_data_t * p_dest,       \
                                                  int i_stride)              \
 {                                                                           \
@@ -330,7 +332,7 @@ void MotionComponent_x_Y_copy_##width##_##height(yuv_data_t * p_src,        \
 }
 
 #define __MotionComponent_X_Y_copy(width,height)                            \
-void MotionComponent_X_Y_copy_##width##_##height(yuv_data_t * p_src,        \
+void _M(MotionComponent_X_Y_copy_##width##_##height)(yuv_data_t * p_src,    \
                                                  yuv_data_t * p_dest,       \
                                                  int i_stride)              \
 {                                                                           \
@@ -356,7 +358,7 @@ void MotionComponent_X_Y_copy_##width##_##height(yuv_data_t * p_src,        \
 }
 
 #define __MotionComponent_x_y_avg(width,height)                             \
-void MotionComponent_x_y_avg_##width##_##height(yuv_data_t * p_src,         \
+void _M(MotionComponent_x_y_avg_##width##_##height)(yuv_data_t * p_src,     \
                                                 yuv_data_t * p_dest,        \
                                                 int i_stride)               \
 {                                                                           \
@@ -379,7 +381,7 @@ void MotionComponent_x_y_avg_##width##_##height(yuv_data_t * p_src,         \
 }
 
 #define __MotionComponent_X_y_avg(width,height)                             \
-void MotionComponent_X_y_avg_##width##_##height(yuv_data_t * p_src,         \
+void _M(MotionComponent_X_y_avg_##width##_##height)(yuv_data_t * p_src,     \
                                                 yuv_data_t * p_dest,        \
                                                 int i_stride)               \
 {                                                                           \
@@ -402,7 +404,7 @@ void MotionComponent_X_y_avg_##width##_##height(yuv_data_t * p_src,         \
 }
 
 #define __MotionComponent_x_Y_avg(width,height)                             \
-void MotionComponent_x_Y_avg_##width##_##height(yuv_data_t * p_src,         \
+void _M(MotionComponent_x_Y_avg_##width##_##height)(yuv_data_t * p_src,     \
                                                 yuv_data_t * p_dest,        \
                                                 int i_stride)               \
 {                                                                           \
@@ -426,7 +428,7 @@ void MotionComponent_x_Y_avg_##width##_##height(yuv_data_t * p_src,         \
 }
 
 #define __MotionComponent_X_Y_avg(width,height)                             \
-void MotionComponent_X_Y_avg_##width##_##height(yuv_data_t * p_src,         \
+void _M(MotionComponent_X_Y_avg_##width##_##height)(yuv_data_t * p_src,     \
                                                 yuv_data_t * p_dest,        \
                                                 int i_stride)               \
 {                                                                           \