[svn] / trunk / xvidcore / src / quant / x86_asm / quantize_h263_3dne.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/quant/x86_asm/quantize_h263_3dne.asm

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

revision 1843, Wed Dec 3 10:58:09 2008 UTC revision 1844, Thu Dec 4 14:41:50 2008 UTC
# Line 19  Line 19 
19  ; *  along with this program ; if not, write to the Free Software  ; *  along with this program ; if not, write to the Free Software
20  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  ; *  ; *
22  ; * $Id: quantize_h263_3dne.asm,v 1.9 2008-11-26 01:04:34 Isibaar Exp $  ; * $Id: quantize_h263_3dne.asm,v 1.10 2008-12-04 14:41:50 Isibaar Exp $
23  ; *  ; *
24  ; *************************************************************************/  ; *************************************************************************/
25  ;  ;
# Line 135  Line 135 
135  ; Code  ; Code
136  ;=============================================================================  ;=============================================================================
137    
138  SECTION .rotext align=SECTION_ALIGN  TEXT
   
139    
140  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
141  ;  ;
# Line 352  Line 351 
351    mov _EBP, [_ESP + (4+4)*PTR_SIZE]   ; dcscalar    mov _EBP, [_ESP + (4+4)*PTR_SIZE]   ; dcscalar
352                                      ; NB -- there are 3 pushes in the function preambule and one more                                      ; NB -- there are 3 pushes in the function preambule and one more
353                                      ; in "quant_intra 0", thus an added offset of 16 bytes                                      ; in "quant_intra 0", thus an added offset of 16 bytes
354    movsx _EAX, word [byte _ECX]        ; DC    XVID_MOVSX _EAX, word [byte _ECX] ; DC
355    
356    quant_intra 1    quant_intra 1
357    mov _EDI, _EAX    mov _EDI, _EAX
# Line 399  Line 398 
398  .q1loop:  .q1loop:
399    quant_intra1 0    quant_intra1 0
400    mov _EBP, [_ESP + (4+4)*PTR_SIZE]   ; dcscalar    mov _EBP, [_ESP + (4+4)*PTR_SIZE]   ; dcscalar
401    movsx _EAX, word [byte _ECX]        ; DC    XVID_MOVSX _EAX, word [byte _ECX]        ; DC
402    
403    quant_intra1 1    quant_intra1 1
404    mov _EDI, _EAX    mov _EDI, _EAX
# Line 754  Line 753 
753  %endif  %endif
754    push _EBP    push _EBP
755    mov _EBX, mmx_2047    mov _EBX, mmx_2047
756    movsx _EBP, word [_ECX]    XVID_MOVSX _EBP, word [_ECX]
757  %ifdef ARCH_IS_X86_64  %ifdef ARCH_IS_X86_64
758    lea r9, [mmx_add]    lea r9, [mmx_add]
759    lea _EAX, [r9 + _EAX*8 - 8]    ; quant or quant-1    lea _EAX, [r9 + _EAX*8 - 8]    ; quant or quant-1

Legend:
Removed from v.1843  
changed lines
  Added in v.1844

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