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

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

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

revision 1832, Sun Nov 30 18:05:43 2008 UTC revision 1833, Mon Dec 1 14:45:46 2008 UTC
# Line 21  Line 21 
21  ; *  along with this program ; if not, write to the Free Software  ; *  along with this program ; if not, write to the Free Software
22  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23  ; *  ; *
24  ; * $Id: quantize_h263_mmx.asm,v 1.11 2008-11-26 23:35:50 Isibaar Exp $  ; * $Id: quantize_h263_mmx.asm,v 1.12 2008-12-01 14:45:46 Isibaar Exp $
25  ; *  ; *
26  ; ****************************************************************************/  ; ****************************************************************************/
27    
# Line 483  Line 483 
483    
484  ALIGN SECTION_ALIGN  ALIGN SECTION_ALIGN
485  quant_h263_inter_sse2:  quant_h263_inter_sse2:
486      PUSH_XMM6_XMM7
487    
488    mov TMP1, prm1      ; coeff    mov TMP1, prm1      ; coeff
489    mov _EAX, prm3      ; quant    mov _EAX, prm3      ; quant
# Line 549  Line 550 
550    
551    movd eax, mm0         ; return sum    movd eax, mm0         ; return sum
552    
553      POP_XMM6_XMM7
554    ret    ret
555    
556  .qes2_q1_routine:  .qes2_q1_routine:
# Line 771  Line 773 
773    
774  ALIGN SECTION_ALIGN  ALIGN SECTION_ALIGN
775  dequant_h263_intra_sse2:  dequant_h263_intra_sse2:
776      PUSH_XMM6_XMM7
777    
778    mov TMP0, prm3                 ; quant    mov TMP0, prm3                 ; quant
779    mov _EAX, prm2                 ; coeff    mov _EAX, prm2                 ; coeff
# Line 844  Line 847 
847    mov [TMP1], ax    mov [TMP1], ax
848    
849    xor _EAX, _EAX                  ; return 0    xor _EAX, _EAX                  ; return 0
850    
851      POP_XMM6_XMM7
852    ret    ret
853  ENDFUNC  ENDFUNC
854    
# Line 1001  Line 1006 
1006    
1007  ALIGN SECTION_ALIGN  ALIGN SECTION_ALIGN
1008  dequant_h263_inter_sse2:  dequant_h263_inter_sse2:
1009      PUSH_XMM6_XMM7
1010    
1011    mov TMP0, prm3                 ; quant    mov TMP0, prm3                 ; quant
1012    mov _EAX, prm2                 ; coeff    mov _EAX, prm2                 ; coeff
# Line 1059  Line 1065 
1065    jne .loop    jne .loop
1066    
1067    xor _EAX, _EAX              ; return 0    xor _EAX, _EAX              ; return 0
1068    
1069      POP_XMM6_XMM7
1070    ret    ret
1071  ENDFUNC  ENDFUNC
1072    

Legend:
Removed from v.1832  
changed lines
  Added in v.1833

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