summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/h264_altivec.c
diff options
context:
space:
mode:
authorSigbjorn Skjaeret <sskjer-1@broadpark.no>2007-06-12 21:24:25 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-06-12 21:24:25 +0000
commit0aec30c58d9a12f190a81a1bd6827c18dca19bbd (patch)
tree7ab73993450d9f72b3f13bb5a6dcfac78a7c3a60 /libavcodec/ppc/h264_altivec.c
parent525751c053c56b1b5fef33ce1c38497abea2d295 (diff)
kill one vector constant value load by the right combination of vec_splatX/vec_sl
patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no% Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_altivec.c')
-rw-r--r--libavcodec/ppc/h264_altivec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c
index 4d88b320ae..39dfcb6df1 100644
--- a/libavcodec/ppc/h264_altivec.c
+++ b/libavcodec/ppc/h264_altivec.c
@@ -763,8 +763,7 @@ static inline vector unsigned char h264_deblock_mask ( register vector unsigned
#define h264_deblock_p0_q0(p0, p1, q0, q1, tc0masked) { \
\
- const vec_u8_t A0v = (vec_u8_t) AVV(0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, \
- 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0); \
+ const vector unsigned char A0v = vec_sl(vec_splat_u8(10), vec_splat_u8(4)); \
\
register vector unsigned char pq0bit = vec_xor(p0,q0); \
register vector unsigned char temp; \