mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
CopyRows_X86 had parameters wrong
TESTED=videotool save to file NEEDS_QA=false Review URL: http://webrtc-codereview.appspot.com/304006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@96 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
ca26f860b9
commit
c2b74366ec
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 95
|
||||
Version: 96
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -150,13 +150,14 @@ void CopyRow_SSE2(const uint8* src, uint8* dst, int count) {
|
||||
}
|
||||
}
|
||||
|
||||
__declspec(naked)
|
||||
void CopyRow_X86(const uint8* src, uint8* dst, int count) {
|
||||
__asm {
|
||||
push esi
|
||||
push edi
|
||||
mov esi, [esp + 4 + 4] // src
|
||||
mov edi, [esp + 4 + 8] // dst
|
||||
mov ecx, [esp + 4 + 12] // count
|
||||
mov esi, [esp + 8 + 4] // src
|
||||
mov edi, [esp + 8 + 8] // dst
|
||||
mov ecx, [esp + 8 + 12] // count
|
||||
shr ecx, 2
|
||||
rep movsd
|
||||
pop edi
|
||||
@ -257,7 +258,6 @@ int I420Copy(const uint8* src_y, int src_stride_y,
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
// Copy ARGB with optional flipping
|
||||
int ARGBCopy(const uint8* src_argb, int src_stride_argb,
|
||||
uint8* dst_argb, int dst_stride_argb,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user