[MPlayer-cvslog] r24143 - in trunk/libswscale: swscale_altivec_template.c swscale_internal.h

diego subversion at mplayerhq.hu
Fri Aug 24 17:04:15 CEST 2007


Author: diego
Date: Fri Aug 24 17:04:14 2007
New Revision: 24143

Log:
Move Apple gcc AltiVec vector declaration syntax to libavutil.


Modified:
   trunk/libswscale/swscale_altivec_template.c
   trunk/libswscale/swscale_internal.h

Modified: trunk/libswscale/swscale_altivec_template.c
==============================================================================
--- trunk/libswscale/swscale_altivec_template.c	(original)
+++ trunk/libswscale/swscale_altivec_template.c	Fri Aug 24 17:04:14 2007
@@ -21,12 +21,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifdef SYS_DARWIN
-#define AVV(x...) (x)
-#else
-#define AVV(x...) {x}
-#endif
-
 #define vzero vec_splat_s32(0)
 
 static inline void

Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h	(original)
+++ trunk/libswscale/swscale_internal.h	Fri Aug 24 17:04:14 2007
@@ -27,12 +27,6 @@
 
 #include "avutil.h"
 
-#ifdef SYS_DARWIN
-#define AVV(x...) (x)
-#else
-#define AVV(x...) {x}
-#endif
-
 #define MAX_FILTER_SIZE 256
 
 typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,



More information about the MPlayer-cvslog mailing list