Revision 0d56feac

View differences:

postproc/swscale_altivec_template.c
21 21
*/
22 22

  
23 23
#ifdef CONFIG_DARWIN
24
static const vector signed int vzero =
25
  (vector signed int)(0, 0, 0, 0);
26
static const vector unsigned int altivec_vectorShiftInt19 =
27
  (vector unsigned int)(19, 19, 19, 19);
24
#define AVV(x...) (x)
28 25
#else
26
#define AVV(x...) {x}
27
#endif
28

  
29 29
static const vector signed int vzero =
30
  (vector signed int){0,0,0,0};
30
  (const vector signed int)AVV(0, 0, 0, 0);
31 31
static const vector unsigned int altivec_vectorShiftInt19 =
32
  (vector unsigned int){19, 19, 19, 19};
33

  
34
#endif
32
  (const vector unsigned int)AVV(19, 19, 19, 19);
35 33

  
36 34
static inline void
37 35
altivec_packIntArrayToCharArray(int *val, uint8_t* dest, int dstW) {

Also available in: Unified diff