[cvs] / xvidcore / src / image / x86_asm / postprocessing_mmx.asm Repository:
ViewVC logotype

Diff of /xvidcore/src/image/x86_asm/postprocessing_mmx.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9, Wed Nov 26 23:35:50 2008 UTC revision 1.14, Tue Mar 9 10:00:14 2010 UTC
# Line 5  Line 5 
5  ; *  ; *
6  ; *  Copyright(C) 2004 Peter Ross <pross@xvid.org>  ; *  Copyright(C) 2004 Peter Ross <pross@xvid.org>
7  ; *  ; *
8  ; *  XviD is free software; you can redistribute it and/or modify it  ; *  Xvid is free software; you can redistribute it and/or modify it
9  ; *  under the terms of the GNU General Public License as published by  ; *  under the terms of the GNU General Public License as published by
10  ; *  the Free Software Foundation; either version 2 of the License, or  ; *  the Free Software Foundation; either version 2 of the License, or
11  ; *  (at your option) any later version.  ; *  (at your option) any later version.
# Line 46  Line 46 
46  ; Code  ; Code
47  ;=============================================================================  ;=============================================================================
48    
49  SECTION .rotext align=SECTION_ALIGN  TEXT
50    
51  cglobal image_brightness_mmx  cglobal image_brightness_mmx
52    
# Line 61  Line 61 
61          movq mm6, [mmx_0x80]          movq mm6, [mmx_0x80]
62    
63  %ifdef ARCH_IS_X86_64  %ifdef ARCH_IS_X86_64
64          movsx _EAX, prm5d          XVID_MOVSXD _EAX, prm5d
65          lea TMP0, [mmx_offset]          lea TMP0, [mmx_offset]
66          movq mm7, [TMP0 + (_EAX + 128)*8]   ; being lazy          movq mm7, [TMP0 + (_EAX + 128)*8]   ; being lazy
67  %else  %else
# Line 104  Line 104 
104          jl .xloop          jl .xloop
105    
106          add TMP1, TMP0                          ; dst += stride          add TMP1, TMP0                          ; dst += stride
107          sub _EDI, 1          dec _EDI
108          jg .yloop          jg .yloop
109    
110          pop _EDI          pop _EDI
# Line 114  Line 114 
114  ENDFUNC  ENDFUNC
115  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
116    
117  %ifidn __OUTPUT_FORMAT__,elf  NON_EXEC_STACK
 section ".note.GNU-stack" noalloc noexec nowrite progbits  
 %endif  
   

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.14

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4