forked from KolibriOS/kolibrios
Notify: small optimization
git-svn-id: svn://kolibrios.org@4474 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
cf77f6abc4
commit
d8e7f62e43
@ -60,15 +60,10 @@ inline fastcall int GetClientTop()
|
|||||||
$shr eax, 16
|
$shr eax, 16
|
||||||
}
|
}
|
||||||
|
|
||||||
void from24to32(dword src, dst, Width, Height)
|
void from24to32(ESI, EDI, EAX, EBX) //src,dst,w,h
|
||||||
{
|
{
|
||||||
conv24to32:
|
conv24to32:
|
||||||
$mov esi, src
|
$mul ebx
|
||||||
$mov edi, dst
|
|
||||||
|
|
||||||
$mov eax, Width
|
|
||||||
//$mul ESDWORD[Height]
|
|
||||||
$mul Height
|
|
||||||
$mov ecx, eax
|
$mov ecx, eax
|
||||||
$xor al, al
|
$xor al, al
|
||||||
_next:
|
_next:
|
||||||
|
Loading…
Reference in New Issue
Block a user