Commit 35c27389 authored by Diego Biurrun's avatar Diego Biurrun

Refactor the FOUROF macro using the AVV macro.

Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b0e21a3b
...@@ -66,12 +66,8 @@ do { \ ...@@ -66,12 +66,8 @@ do { \
} }
#ifdef __APPLE_CC__ #define FOUROF(a) AVV(a,a,a,a)
#define FOUROF(a) (a)
#else
// slower, for dumb non-apple GCC
#define FOUROF(a) {a,a,a,a}
#endif
int dct_quantize_altivec(MpegEncContext* s, int dct_quantize_altivec(MpegEncContext* s,
DCTELEM* data, int n, DCTELEM* data, int n,
int qscale, int* overflow) int qscale, int* overflow)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment