Revision 8008a043

View differences:

libavcodec/ppc/gcc_fixes.h
28 28
#endif
29 29

  
30 30
#ifdef SYS_DARWIN
31
# ifndef __MWERKS__
32
#  define AVV(x...) (x)
33
# else
31
# ifdef __MWERKS__
34 32
#  define AVV
35 33
# endif
36 34
#define REG_v(a) asm ( #a )
37 35
#else
38 36

  
39
#define AVV(x...) {x}
40

  
41 37
#if (__GNUC__ < 4)
42 38
# define REG_v(a)
43 39
#else
libavutil/internal.h
50 50
#endif
51 51
#endif
52 52

  
53
/* Use Apple-specific AltiVec syntax for vector declarations when necessary. */
54
#ifdef __APPLE_CC__
55
#define AVV(x...) (x)
56
#else
57
#define AVV(x...) {x}
58
#endif
59

  
53 60
#ifndef M_PI
54 61
#define M_PI    3.14159265358979323846
55 62
#endif
libpostproc/postprocess_altivec_template.c
22 22

  
23 23
#include "avutil.h"
24 24

  
25
#ifdef SYS_DARWIN
26
#define AVV(x...) (x)
27
#else
28
#define AVV(x...) {x}
29
#endif
30

  
31 25
#define ALTIVEC_TRANSPOSE_8x8_SHORT(src_a,src_b,src_c,src_d,src_e,src_f,src_g,src_h) \
32 26
  do {                                                                  \
33 27
    __typeof__(src_a) tempA1, tempB1, tempC1, tempD1;                   \

Also available in: Unified diff