Commit a843e3c0 authored by aurel's avatar aurel

use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5079 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 81d20b3a
...@@ -426,7 +426,7 @@ static void PREFIX_h264_qpel16_hv_lowpass_altivec(uint8_t * dst, int16_t * tmp, ...@@ -426,7 +426,7 @@ static void PREFIX_h264_qpel16_hv_lowpass_altivec(uint8_t * dst, int16_t * tmp,
const vector signed short v5ss = vec_splat_s16(5); const vector signed short v5ss = vec_splat_s16(5);
const vector signed short v1ss = vec_splat_s16(1); const vector signed short v1ss = vec_splat_s16(1);
const vector signed int v512si = vec_sl(vec_splat_s32(1),vec_splat_u32(9)); const vector signed int v512si = vec_sl(vec_splat_s32(1),vec_splat_u32(9));
const vector unsigned int v16ui = vec_sl(vec_splat_u16(1),vec_splat_u16(4)); const vector unsigned int v16ui = vec_sl(vec_splat_u32(1),vec_splat_u32(4));
register int align = ((((unsigned long)src) - 2) % 16); register int align = ((((unsigned long)src) - 2) % 16);
......
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