changeset 24123:47f7591a2c8b

Move Apple gcc AltiVec vector declaration syntax to libavutil.
author diego
date Fri, 24 Aug 2007 15:04:14 +0000
parents 0efabdc34ad4
children d2f65b67e568
files libswscale/swscale_altivec_template.c libswscale/swscale_internal.h
diffstat 2 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_altivec_template.c	Fri Aug 24 12:49:59 2007 +0000
+++ b/libswscale/swscale_altivec_template.c	Fri Aug 24 15:04:14 2007 +0000
@@ -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
--- a/libswscale/swscale_internal.h	Fri Aug 24 12:49:59 2007 +0000
+++ b/libswscale/swscale_internal.h	Fri Aug 24 15:04:14 2007 +0000
@@ -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,