mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-16 23:29:52 +08:00
Fix offset in addresses for windows. Wants it within [] now.
BUG=none TESTED=local windows build. R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/32479004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1168 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
ad113fbaf6
commit
b9d17e1d79
@ -2431,7 +2431,7 @@ void MirrorRow_AVX2(const uint8* src, uint8* dst, int width) {
|
|||||||
|
|
||||||
align 4
|
align 4
|
||||||
convertloop:
|
convertloop:
|
||||||
vmovdqu ymm0, -32[eax + ecx]
|
vmovdqu ymm0, [eax - 32 + ecx]
|
||||||
vpshufb ymm0, ymm0, ymm5
|
vpshufb ymm0, ymm0, ymm5
|
||||||
vpermq ymm0, ymm0, 0x4e // swap high and low halfs
|
vpermq ymm0, ymm0, 0x4e // swap high and low halfs
|
||||||
sub ecx, 32
|
sub ecx, 32
|
||||||
@ -2454,7 +2454,7 @@ void MirrorRow_SSE2(const uint8* src, uint8* dst, int width) {
|
|||||||
|
|
||||||
align 4
|
align 4
|
||||||
convertloop:
|
convertloop:
|
||||||
movdqu xmm0, -16[eax + ecx]
|
movdqu xmm0, [eax - 16 + ecx]
|
||||||
movdqa xmm1, xmm0 // swap bytes
|
movdqa xmm1, xmm0 // swap bytes
|
||||||
psllw xmm0, 8
|
psllw xmm0, 8
|
||||||
psrlw xmm1, 8
|
psrlw xmm1, 8
|
||||||
@ -2552,7 +2552,7 @@ void ARGBMirrorRow_AVX2(const uint8* src, uint8* dst, int width) {
|
|||||||
|
|
||||||
align 4
|
align 4
|
||||||
convertloop:
|
convertloop:
|
||||||
vpermd ymm0, ymm5, -32[eax + ecx * 4] // permute dword order
|
vpermd ymm0, ymm5, [eax - 32 + ecx * 4] // permute dword order
|
||||||
sub ecx, 8
|
sub ecx, 8
|
||||||
vmovdqu [edx], ymm0
|
vmovdqu [edx], ymm0
|
||||||
lea edx, [edx + 32]
|
lea edx, [edx + 32]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user