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.6 2004-08-22 11:46:10 edgomez Exp $ |
; * $Id: quantize_h263_mmx.asm,v 1.7 2004-08-29 10:02:38 edgomez Exp $ |
25 |
; * |
; * |
26 |
; ****************************************************************************/ |
; ****************************************************************************/ |
27 |
|
|
33 |
%macro cglobal 1 |
%macro cglobal 1 |
34 |
%ifdef PREFIX |
%ifdef PREFIX |
35 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
36 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
37 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
38 |
%else |
%else |
39 |
global _%1 |
global _%1 |
40 |
%define %1 _%1 |
%define %1 _%1 |
41 |
%endif |
%endif |
42 |
%else |
%else |
43 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
44 |
global %1:function |
global %1:function %1.endfunc-%1 |
45 |
%else |
%else |
46 |
global %1 |
global %1 |
47 |
%endif |
%endif |
234 |
|
|
235 |
pop esi |
pop esi |
236 |
ret |
ret |
237 |
|
.endfunc |
238 |
|
|
239 |
|
|
240 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
346 |
|
|
347 |
pop esi |
pop esi |
348 |
ret |
ret |
349 |
|
.endfunc |
350 |
|
|
351 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
352 |
; |
; |
450 |
jnz .q1loop |
jnz .q1loop |
451 |
|
|
452 |
jmp .done |
jmp .done |
453 |
|
.endfunc |
454 |
|
|
455 |
|
|
456 |
|
|
565 |
cmp ecx, 16 |
cmp ecx, 16 |
566 |
jnz .qes2_q1loop |
jnz .qes2_q1loop |
567 |
jmp .qes2_done |
jmp .qes2_done |
568 |
|
.endfunc |
569 |
|
|
570 |
|
|
571 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
651 |
|
|
652 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
653 |
ret |
ret |
654 |
|
.endfunc |
655 |
|
|
656 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
657 |
; |
; |
736 |
|
|
737 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
738 |
ret |
ret |
739 |
|
.endfunc |
740 |
|
|
741 |
|
|
742 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
825 |
|
|
826 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
827 |
ret |
ret |
828 |
|
.endfunc |
829 |
|
|
830 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
831 |
; |
; |
896 |
|
|
897 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
898 |
ret |
ret |
899 |
|
.endfunc |
900 |
|
|
901 |
|
|
902 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
965 |
|
|
966 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
967 |
ret |
ret |
968 |
|
.endfunc |
969 |
|
|
970 |
|
|
971 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
1037 |
|
|
1038 |
xor eax, eax ; return 0 |
xor eax, eax ; return 0 |
1039 |
ret |
ret |
1040 |
|
.endfunc |
1041 |
|
|