Refactor the FOUROF macro using the AVV macro.
authorDiego Biurrun <diego@biurrun.de>
Mon, 18 Feb 2008 22:26:46 +0000 (22:26 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 18 Feb 2008 22:26:46 +0000 (22:26 +0000)
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/mpegvideo_altivec.c

index d7fcdfa..3b5e651 100644 (file)
@@ -66,12 +66,8 @@ do { \
 }
 
 
-#ifdef __APPLE_CC__
-#define FOUROF(a) (a)
-#else
-// slower, for dumb non-apple GCC
-#define FOUROF(a) {a,a,a,a}
-#endif
+#define FOUROF(a) AVV(a,a,a,a)
+
 int dct_quantize_altivec(MpegEncContext* s,
                         DCTELEM* data, int n,
                         int qscale, int* overflow)