mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
bugfix
nick why did u remove the #if 0 around that code without testing it? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2808 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7c90427a5c
commit
20d9b4ff45
@ -126,20 +126,20 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i
|
||||
"movb (%1, %%eax), %%bl \n\t"
|
||||
"cmpb $0, %%bl \n\t"
|
||||
" jz 2f \n\t"
|
||||
"movzxb (%2, %%eax), %%edx \n\t"
|
||||
"movzbl (%2, %%eax), %%edx \n\t"
|
||||
"shll $8, %%edx \n\t"
|
||||
"decb %%bl \n\t"
|
||||
"movzxb (%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl (%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, (%0, %%eax, 4) \n\t"
|
||||
|
||||
"movzxb 1(%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl 1(%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, 1(%0, %%eax, 4) \n\t"
|
||||
|
||||
"movzxb 2(%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl 2(%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, 2(%0, %%eax, 4) \n\t"
|
||||
|
@ -126,20 +126,20 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i
|
||||
"movb (%1, %%eax), %%bl \n\t"
|
||||
"cmpb $0, %%bl \n\t"
|
||||
" jz 2f \n\t"
|
||||
"movzxb (%2, %%eax), %%edx \n\t"
|
||||
"movzbl (%2, %%eax), %%edx \n\t"
|
||||
"shll $8, %%edx \n\t"
|
||||
"decb %%bl \n\t"
|
||||
"movzxb (%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl (%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, (%0, %%eax, 4) \n\t"
|
||||
|
||||
"movzxb 1(%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl 1(%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, 1(%0, %%eax, 4) \n\t"
|
||||
|
||||
"movzxb 2(%0, %%eax, 4), %%ecx \n\t"
|
||||
"movzbl 2(%0, %%eax, 4), %%ecx \n\t"
|
||||
"imull %%ebx, %%ecx \n\t"
|
||||
"addl %%edx, %%ecx \n\t"
|
||||
"movb %%ch, 2(%0, %%eax, 4) \n\t"
|
||||
|
Loading…
Reference in New Issue
Block a user