Commit 630ad13e authored by gpoirier's avatar gpoirier

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%


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent df6abb09
...@@ -763,8 +763,7 @@ static inline vector unsigned char h264_deblock_mask ( register vector unsigned ...@@ -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) { \ #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, \ const vector unsigned char A0v = vec_sl(vec_splat_u8(10), vec_splat_u8(4)); \
0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0); \
\ \
register vector unsigned char pq0bit = vec_xor(p0,q0); \ register vector unsigned char pq0bit = vec_xor(p0,q0); \
register vector unsigned char temp; \ register vector unsigned char temp; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment