diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-08-15 20:36:05 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-08-15 20:36:05 +0000 |
commit | cb243ea220861eea427daa8ea49a036b03f207c6 (patch) | |
tree | 2ebe41d65b5ffbf59d8b77afcd8d9817d25e8f2e /libavcodec/ppc/h264_altivec.c | |
parent | d7e27559b186ddf8a3a870e032afc454be30b96f (diff) | |
download | ffmpeg-cb243ea220861eea427daa8ea49a036b03f207c6.tar.gz |
10l, thanks to Emanuele Giaquinta <exg@gentoo.org> for testing and finding the issue
Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_altivec.c')
-rw-r--r-- | libavcodec/ppc/h264_altivec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c index 87fa6af3f9..a2370621e6 100644 --- a/libavcodec/ppc/h264_altivec.c +++ b/libavcodec/ppc/h264_altivec.c @@ -207,11 +207,11 @@ static inline void put_pixels16_l2_altivec( uint8_t * dst, const uint8_t * src1, align = vec_lvsr(0, dst); - tmp1 = vec_perm(edges, d, align); - tmp2 = vec_perm(d, edges, align); + tmp1 = vec_perm(d, edges, align); + tmp2 = vec_perm(edges, d, align); - vec_st(tmp2, 15, dst); vec_st(tmp1, 0 , dst); + vec_st(tmp2, 15, dst); dst += dst_stride; } @@ -249,11 +249,11 @@ static inline void avg_pixels16_l2_altivec( uint8_t * dst, const uint8_t * src1, align = vec_lvsr(0, dst); - tmp1 = vec_perm(edges, d, align); - tmp2 = vec_perm(d, edges, align); + tmp1 = vec_perm(d, edges, align); + tmp2 = vec_perm(edges, d, align); - vec_st(tmp2, 15, dst); vec_st(tmp1, 0 , dst); + vec_st(tmp2, 15, dst); dst += dst_stride; } |