projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895bf49
)
GCC 3.3 compile fix
author
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Mon, 11 Dec 2006 10:52:18 +0000
(10:52 +0000)
committer
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Mon, 11 Dec 2006 10:52:18 +0000
(10:52 +0000)
Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ppc/h264_altivec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ppc/h264_altivec.c
b/libavcodec/ppc/h264_altivec.c
index
febb2c8
..
bac620e
100644
(file)
--- a/
libavcodec/ppc/h264_altivec.c
+++ b/
libavcodec/ppc/h264_altivec.c
@@
-464,7
+464,7
@@
static inline void avg_pixels16_l2_altivec( uint8_t * dst, const uint8_t * src1,
vec_u8_t lv = vec_ld( 7, dest ); \
vec_u8_t dstv = vec_perm( hv, lv, (vec_u8_t)perm_ldv ); \
vec_s16_t idct_sh6 = vec_sra(idctv, sixv); \
- vec_u16_t dst16 =
vec_mergeh(zero_u8v, dstv);
\
+ vec_u16_t dst16 =
(vec_u16_t)vec_mergeh(zero_u8v, dstv);
\
vec_s16_t idstsum = vec_adds(idct_sh6, (vec_s16_t)dst16); \
vec_u8_t idstsum8 = vec_packsu(zero_s16v, idstsum); \
vec_u8_t edgehv; \