Refactor the FOUROF macro using the AVV macro.

Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent b0e21a3b47
commit 35c27389c0
  1. 8
      libavcodec/ppc/mpegvideo_altivec.c

@ -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)

Loading…
Cancel
Save