mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
b0e21a3b47
commit
35c27389c0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user