Subversion Repositories Kolibri OS

Rev

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

Rev 6648 Rev 7280
Line 822... Line 822...
822
	 shr	    ecx,3
822
	 shr	    ecx,3
823
	 lea	    ebx,[ebx*3]
823
	 lea	    ebx,[ebx*3]
824
       ;  mov        ecx,(SIZE_X*(SIZE_Y-3))*3/8
824
       ;  mov        ecx,(SIZE_X*(SIZE_Y-3))*3/8
825
     .blr:
825
     .blr:
826
     @@:
826
     @@:
-
 
827
	 push	    ecx
-
 
828
	 mov	    ecx,edi
-
 
829
	 sub	    ecx,ebx
827
	 movq	    mm0,[edi+ebx]
830
	 movq	    mm0,[edi+ebx]
828
	 movq	    mm1,[edi-ebx]
831
	 movq	    mm1,[ecx]
829
	 movq	    mm2,[edi-3]
832
	 movq	    mm2,[edi-3]
830
	 movq	    mm3,[edi+3]
833
	 movq	    mm3,[edi+3]
Line 831... Line 834...
831
 
834
 
832
	 pavgb	    mm0,mm1
835
	 pavgb	    mm0,mm1
Line 836... Line 839...
836
	 psubusb    mm0,mm4  ; importand if fire
839
	 psubusb    mm0,mm4  ; importand if fire
Line 837... Line 840...
837
 
840
 
838
	 movq	    [edi],mm0
841
	 movq	    [edi],mm0
839
	 add	     edi,8
842
	 add	     edi,8
840
	 add	     esi,8
843
	 add	     esi,8
841
 
844
	 pop	     ecx
Line 842... Line 845...
842
	 loop	     .blr
845
	 loop	     .blr
843
 
846
 
844
	 xor	    eax,eax
847
	 xor	    eax,eax