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:
fbarchard@google.com 2011-12-02 23:19:27 +00:00
parent ca26f860b9
commit c2b74366ec
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 95 Version: 96
License: BSD License: BSD
License File: LICENSE License File: LICENSE

View File

@ -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) { void CopyRow_X86(const uint8* src, uint8* dst, int count) {
__asm { __asm {
push esi push esi
push edi push edi
mov esi, [esp + 4 + 4] // src mov esi, [esp + 8 + 4] // src
mov edi, [esp + 4 + 8] // dst mov edi, [esp + 8 + 8] // dst
mov ecx, [esp + 4 + 12] // count mov ecx, [esp + 8 + 12] // count
shr ecx, 2 shr ecx, 2
rep movsd rep movsd
pop edi pop edi
@ -257,7 +258,6 @@ int I420Copy(const uint8* src_y, int src_stride_y,
return 0; return 0;
} }
// Copy ARGB with optional flipping // Copy ARGB with optional flipping
int ARGBCopy(const uint8* src_argb, int src_stride_argb, int ARGBCopy(const uint8* src_argb, int src_stride_argb,
uint8* dst_argb, int dst_stride_argb, uint8* dst_argb, int dst_stride_argb,