Mercurial > libavcodec.hg
comparison ppc/dsputil_altivec.h @ 3945:9544ad38f02a libavcodec
fix a warning
author | lu_zero |
---|---|
date | Sat, 07 Oct 2006 11:46:35 +0000 |
parents | 5f97ba9a4eaa |
children | c8c591fe26f8 |
comparison
equal
deleted
inserted
replaced
3944:edacbbf46a19 | 3945:9544ad38f02a |
---|---|
24 #include "dsputil_ppc.h" | 24 #include "dsputil_ppc.h" |
25 | 25 |
26 #ifdef HAVE_ALTIVEC | 26 #ifdef HAVE_ALTIVEC |
27 | 27 |
28 extern int has_altivec(void); | 28 extern int has_altivec(void); |
29 | |
30 void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | |
31 | |
32 void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | |
29 | 33 |
30 // used to build registers permutation vectors (vcprm) | 34 // used to build registers permutation vectors (vcprm) |
31 // the 's' are for words in the _s_econd vector | 35 // the 's' are for words in the _s_econd vector |
32 #define WORD_0 0x00,0x01,0x02,0x03 | 36 #define WORD_0 0x00,0x01,0x02,0x03 |
33 #define WORD_1 0x04,0x05,0x06,0x07 | 37 #define WORD_1 0x04,0x05,0x06,0x07 |