diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-02-18 22:26:46 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-02-18 22:26:46 +0000 |
commit | 35c27389c063dbb31e2e67d09a5c21e7b93bb51f (patch) | |
tree | 7038dda26dc4aabeb24b4e2eaa992576a9da4790 /libavcodec | |
parent | b0e21a3b478841593c05774c21611d540d5ba39f (diff) | |
download | ffmpeg-35c27389c063dbb31e2e67d09a5c21e7b93bb51f.tar.gz |
Refactor the FOUROF macro using the AVV macro.
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index d7fcdfa267..3b5e65106d 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/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) |