|
|
@ -112,10 +112,7 @@ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, in |
|
|
|
|
|
|
|
|
|
|
|
if (!loadSecond) {// -> !reallyBadAlign
|
|
|
|
if (!loadSecond) {// -> !reallyBadAlign
|
|
|
|
for (i = 0 ; i < h ; i++) { |
|
|
|
for (i = 0 ; i < h ; i++) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vsrcCuc = vec_ld(stride + 0, src); |
|
|
|
vsrcCuc = vec_ld(stride + 0, src); |
|
|
|
|
|
|
|
|
|
|
|
vsrc2uc = vec_perm(vsrcCuc, vsrcCuc, vsrcperm0); |
|
|
|
vsrc2uc = vec_perm(vsrcCuc, vsrcCuc, vsrcperm0); |
|
|
|
vsrc3uc = vec_perm(vsrcCuc, vsrcCuc, vsrcperm1); |
|
|
|
vsrc3uc = vec_perm(vsrcCuc, vsrcCuc, vsrcperm1); |
|
|
|
|
|
|
|
|
|
|
@ -126,7 +123,6 @@ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, in |
|
|
|
for (i = 0 ; i < h ; i++) { |
|
|
|
for (i = 0 ; i < h ; i++) { |
|
|
|
vsrcCuc = vec_ld(stride + 0, src); |
|
|
|
vsrcCuc = vec_ld(stride + 0, src); |
|
|
|
vsrcDuc = vec_ld(stride + 16, src); |
|
|
|
vsrcDuc = vec_ld(stride + 16, src); |
|
|
|
|
|
|
|
|
|
|
|
vsrc2uc = vec_perm(vsrcCuc, vsrcDuc, vsrcperm0); |
|
|
|
vsrc2uc = vec_perm(vsrcCuc, vsrcDuc, vsrcperm0); |
|
|
|
if (reallyBadAlign) |
|
|
|
if (reallyBadAlign) |
|
|
|
vsrc3uc = vsrcDuc; |
|
|
|
vsrc3uc = vsrcDuc; |
|
|
|