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.2.1 2008-12-01 17:27:03 Isibaar Exp $ |
; * $Id: quantize_h263_mmx.asm,v 1.11.2.2 2008-12-02 14:00:09 Isibaar Exp $ |
25 |
; * |
; * |
26 |
; ****************************************************************************/ |
; ****************************************************************************/ |
27 |
|
|
247 |
|
|
248 |
ALIGN SECTION_ALIGN |
ALIGN SECTION_ALIGN |
249 |
quant_h263_intra_sse2: |
quant_h263_intra_sse2: |
250 |
|
PUSH_XMM6_XMM7 |
251 |
mov _EAX, prm2 ; data |
mov _EAX, prm2 ; data |
252 |
|
|
253 |
movsx _EAX, word [_EAX] ; data[0] |
movsx _EAX, word [_EAX] ; data[0] |
363 |
mov TMP1, prm1 ; coeff |
mov TMP1, prm1 ; coeff |
364 |
mov [TMP1],ax |
mov [TMP1],ax |
365 |
xor _EAX,_EAX ; return 0 |
xor _EAX,_EAX ; return 0 |
366 |
|
POP_XMM6_XMM7 |
367 |
ret |
ret |
368 |
ENDFUNC |
ENDFUNC |
369 |
|
|