Home | History | Annotate | Download | only in hermes

Lines Matching refs:ECX

33 ;;   ECX = amount (NOT 0!!! (the _ConvertX86 routine checks for that though))
41 cmp ecx,BYTE 32
51 dec ecx
60 mov ebp,ecx
64 push ecx
74 mov ecx,[esi+8]
79 bswap ecx
83 ror ecx,8
89 mov [edi+8],ecx
99 pop ecx
100 and ecx,BYTE 11b
110 dec ecx
122 cmp ecx,BYTE 32
131 dec ecx
140 mov ebp,ecx
144 push ecx
150 mov ecx,[esi+8]
155 rol ecx,8
161 mov [edi+8],ecx
171 pop ecx
172 and ecx,BYTE 11b
181 dec ecx
193 cmp ecx,BYTE 32
202 dec ecx
211 mov ebp,ecx
215 push ecx
220 mov ecx,[esi+8]
227 bswap ecx
234 mov [edi+8],ecx
244 pop ecx
245 and ecx,BYTE 11b
254 dec ecx
268 cmp ecx,BYTE 32
280 dec ecx
297 dec ecx
302 mov ebp,ecx
306 push ecx
312 mov ecx,[esi+12] ; third dword ecx = [a][r][g][b]
323 shl ecx,8 ; ecx = [r][g][b][.]
327 mov cl,[esi+8+2] ; ecx = [r][g][b][R] (done)
332 mov [edi+8-3*4],ecx
338 pop ecx
339 and ecx,BYTE 11b
351 dec ecx
365 cmp ecx,BYTE 32
377 dec ecx
394 dec ecx
399 mov ebp,ecx
403 push ecx
423 mov ecx,[esi+12] ; third dword ecx = [a][r][g][b]
425 bswap ecx ; ecx = [b][g][r][a]
427 mov cl,[esi+8] ; ecx = [b][g][r][B] (done)
430 mov [edi+8],ecx
437 pop ecx
438 and ecx,BYTE 11b
450 dec ecx
464 cmp ecx,BYTE 16
480 dec ecx
504 dec ecx
508 push ecx
511 shr ecx,1
514 lea esi,[esi+ecx*8]
515 lea edi,[edi+ecx*4]
518 neg ecx
522 mov [edi+ecx*4-4],eax
524 mov eax,[esi+ecx*8]
527 mov ebx,[esi+ecx*8+4]
530 mov edx,[esi+ecx*8+4]
533 mov dl,[esi+ecx*8+2]
545 inc ecx
549 mov [edi+ecx*4-4],eax
552 pop ecx
580 cmp ecx,BYTE 16
596 dec ecx
617 dec ecx
620 push ecx
623 shr ecx,1
626 lea esi,[esi+ecx*8]
627 lea edi,[edi+ecx*4]
630 neg ecx
634 mov [edi+ecx*4-4],eax
636 mov edx,[esi+ecx*8+4]
638 mov bh,[esi+ecx*8+4]
639 mov ah,[esi+ecx*8]
642 mov al,[esi+ecx*8+1]
645 mov bl,[esi+ecx*8+5]
648 mov dl,[esi+ecx*8+2]
660 inc ecx
664 mov [edi+ecx*4-4],eax
667 pop ecx
668 and ecx,BYTE 1
694 cmp ecx,BYTE 16
710 dec ecx
731 dec ecx
734 push ecx
737 shr ecx,1
740 lea esi,[esi+ecx*8]
741 lea edi,[edi+ecx*4]
744 neg ecx
748 mov [edi+ecx*4-4],eax
750 mov eax,[esi+ecx*8]
753 mov ebx,[esi+ecx*8+4]
756 mov edx,[esi+ecx*8+4]
759 mov dl,[esi+ecx*8+2]
771 inc ecx
775 mov [edi+ecx*4-4],eax
778 pop ecx
779 and ecx,BYTE 1
805 cmp ecx,BYTE 16
822 dec ecx
843 dec ecx
846 push ecx
849 shr ecx,1
852 lea esi,[esi+ecx*8]
853 lea edi,[edi+ecx*4]
856 neg ecx
860 mov [edi+ecx*4-4],eax
862 mov edx,[esi+ecx*8+4]
864 mov bh,[esi+ecx*8+4]
865 mov ah,[esi+ecx*8]
868 mov al,[esi+ecx*8+1]
871 mov bl,[esi+ecx*8+5]
874 mov dl,[esi+ecx*8+2]
886 inc ecx
890 mov [edi+ecx*4-4],eax
893 pop ecx
894 and ecx,BYTE 1
923 push ecx
925 shr ecx,2 ; We will draw 4 pixels at once
1004 dec ecx
1010 pop ecx
1011 and ecx,BYTE 3 ; mask out number of pixels to draw
1036 dec ecx