Revision a6b4448c libavcodec/ppc/types_altivec.h

View differences:

libavcodec/ppc/types_altivec.h
24 24
/***********************************************************************
25 25
 * Vector types
26 26
 **********************************************************************/
27
#define vec_u8_t  vector unsigned char
28
#define vec_s8_t  vector signed char
29
#define vec_u16_t vector unsigned short
30
#define vec_s16_t vector signed short
31
#define vec_u32_t vector unsigned int
32
#define vec_s32_t vector signed int
27
#define vec_u8  vector unsigned char
28
#define vec_s8  vector signed char
29
#define vec_u16 vector unsigned short
30
#define vec_s16 vector signed short
31
#define vec_u32 vector unsigned int
32
#define vec_s32 vector signed int
33 33

  
34 34
/***********************************************************************
35 35
 * Null vector
36 36
 **********************************************************************/
37
#define LOAD_ZERO const vec_u8_t zerov = vec_splat_u8( 0 )
37
#define LOAD_ZERO const vec_u8 zerov = vec_splat_u8( 0 )
38 38

  
39
#define zero_u8v  (vec_u8_t)  zerov
40
#define zero_s8v  (vec_s8_t)  zerov
41
#define zero_u16v (vec_u16_t) zerov
42
#define zero_s16v (vec_s16_t) zerov
43
#define zero_u32v (vec_u32_t) zerov
44
#define zero_s32v (vec_s32_t) zerov
39
#define zero_u8v  (vec_u8)  zerov
40
#define zero_s8v  (vec_s8)  zerov
41
#define zero_u16v (vec_u16) zerov
42
#define zero_s16v (vec_s16) zerov
43
#define zero_u32v (vec_u32) zerov
44
#define zero_s32v (vec_s32) zerov
45 45

  
46 46
#endif /* AVCODEC_PPC_TYPES_ALTIVEC_H */

Also available in: Unified diff