Commit 93e628b9 authored by lu_zero's avatar lu_zero

Proper typecast for vector bool


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0cabd387
...@@ -556,12 +556,14 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc, ...@@ -556,12 +556,14 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc,
vec_splat_u32(7))), vec_splat_u32(7))),
vec_splat_u32(8)); vec_splat_u32(8));
mask = vec_sl((vector signed int) vec_cmpeq(v[x],v[x]), mask = (vector bool int)
vec_sl((vector signed int) vec_cmpeq(v[x],v[x]),
vec_splat_u32(8)); vec_splat_u32(8));
mask = vec_and(v[x],vec_nor(mask,mask)); mask = (vector bool int)
vec_and(v[x],vec_nor(mask,mask));
mask = (vector signed int) vec_cmpeq((vector signed int)mask, mask = (vector bool int)
(vector signed int)vec_splat_u32(0)); vec_cmpeq((vector signed int)mask, vec_splat_s32(0));
vs = vec_sra(v[x],vec_splat_u32(8)); vs = vec_sra(v[x],vec_splat_u32(8));
vs = vec_sra(v[x],vec_splat_u32(8)); vs = vec_sra(v[x],vec_splat_u32(8));
......
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