summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/h264_altivec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ppc/h264_altivec.c')
-rw-r--r--libavcodec/ppc/h264_altivec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c
index dced43bfe3..6caf4c153c 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(edges, d, align);
- vec_st(tmp1, 0 , dst);
vec_st(tmp2, 15, dst);
+ vec_st(tmp1, 0 , 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(edges, d, align);
- vec_st(tmp1, 0 , dst);
vec_st(tmp2, 15, dst);
+ vec_st(tmp1, 0 , dst);
dst += dst_stride;
}