Subversion Repositories Kolibri OS

Rev

Rev 4064 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4064 Rev 4474
Line 58... Line 58...
58
	$int 0x40
58
	$int 0x40
59
    $mov eax, ebx
59
    $mov eax, ebx
60
    $shr eax, 16
60
    $shr eax, 16
61
}
61
}
Line 62... Line 62...
62
 
62
 
63
void from24to32(dword src, dst, Width, Height)
63
void from24to32(ESI, EDI, EAX, EBX) //src,dst,w,h
64
{
64
{
65
conv24to32:
-
 
66
	$mov esi, src
-
 
67
	$mov edi, dst
-
 
68
		
-
 
69
	$mov eax, Width
-
 
70
	//$mul ESDWORD[Height]
65
conv24to32:
71
	$mul Height
66
	$mul ebx
72
	$mov ecx, eax
67
	$mov ecx, eax
73
	$xor al, al 
68
	$xor al, al 
74
_next:	
69
_next:	
75
	$movsw
70
	$movsw