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

Diff of /trunk/xvidcore/src/quant/x86_asm/quantize_mpeg_mmx.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 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_mpeg_mmx.asm,v 1.13 2008-11-26 23:35:50 Isibaar Exp $  ; * $Id: quantize_mpeg_mmx.asm,v 1.14 2008-12-04 14:41:50 Isibaar Exp $
25  ; *  ; *
26  ; *************************************************************************/  ; *************************************************************************/
27    
# Line 111  Line 111 
111  ; Code  ; Code
112  ;=============================================================================  ;=============================================================================
113    
114  SECTION .rotext align=SECTION_ALIGN  TEXT
115    
116  cglobal quant_mpeg_intra_mmx  cglobal quant_mpeg_intra_mmx
117  cglobal quant_mpeg_inter_mmx  cglobal quant_mpeg_inter_mmx
# Line 187  Line 187 
187    QUANT_MMX(7)    QUANT_MMX(7)
188    
189    ; calculate DC    ; calculate DC
190    movsx _EAX, word [_EAX]   ; data[0]    XVID_MOVSX _EAX, word [_EAX]   ; data[0]
191    mov TMP0, prm4            ; dcscalar    mov TMP0, prm4            ; dcscalar
192    mov _EDX, _EAX    mov _EDX, _EAX
193    shr TMP0, 1               ; TMP0 = dcscalar/2    shr TMP0, 1               ; TMP0 = dcscalar/2

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