Browse Source

Refactor the FOUROF macro using the AVV macro.

Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
35c27389c0
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      libavcodec/ppc/mpegvideo_altivec.c

+ 2
- 6
libavcodec/ppc/mpegvideo_altivec.c 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)


Loading…
Cancel
Save