From cb243ea220861eea427daa8ea49a036b03f207c6 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 15 Aug 2006 20:36:05 +0000 Subject: 10l, thanks to Emanuele Giaquinta for testing and finding the issue Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/h264_altivec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavcodec/ppc/h264_altivec.c') 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; } -- cgit v1.2.3