Refactor the FOUROF macro using the AVV macro.

Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-02-18 22:26:46 +00:00
parent b0e21a3b47
commit 35c27389c0

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