42 |
|
|
43 |
%macro cglobal 1 |
%macro cglobal 1 |
44 |
%ifdef PREFIX |
%ifdef PREFIX |
45 |
|
%ifdef MARK_FUNCS |
46 |
|
global _%1:function %1.endfunc-%1 |
47 |
|
%define %1 _%1:function %1.endfunc-%1 |
48 |
|
%else |
49 |
global _%1 |
global _%1 |
50 |
%define %1 _%1 |
%define %1 _%1 |
51 |
|
%endif |
52 |
|
%else |
53 |
|
%ifdef MARK_FUNCS |
54 |
|
global %1:function %1.endfunc-%1 |
55 |
%else |
%else |
56 |
global %1 |
global %1 |
57 |
%endif |
%endif |
58 |
|
%endif |
59 |
%endmacro |
%endmacro |
60 |
%macro cextern 1 |
%macro cextern 1 |
61 |
%ifdef PREFIX |
%ifdef PREFIX |
560 |
|
|
561 |
xvid_H_Pass_16_mmx: |
xvid_H_Pass_16_mmx: |
562 |
H_PASS_16 0, 0 |
H_PASS_16 0, 0 |
563 |
|
.endfunc |
564 |
xvid_H_Pass_Avrg_16_mmx: |
xvid_H_Pass_Avrg_16_mmx: |
565 |
H_PASS_16 1, 0 |
H_PASS_16 1, 0 |
566 |
|
.endfunc |
567 |
xvid_H_Pass_Avrg_Up_16_mmx: |
xvid_H_Pass_Avrg_Up_16_mmx: |
568 |
H_PASS_16 2, 0 |
H_PASS_16 2, 0 |
569 |
|
.endfunc |
570 |
|
|
571 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
572 |
;// 8x? copy Functions |
;// 8x? copy Functions |
573 |
|
|
574 |
xvid_H_Pass_8_mmx: |
xvid_H_Pass_8_mmx: |
575 |
H_PASS_8 0, 0 |
H_PASS_8 0, 0 |
576 |
|
.endfunc |
577 |
xvid_H_Pass_Avrg_8_mmx: |
xvid_H_Pass_Avrg_8_mmx: |
578 |
H_PASS_8 1, 0 |
H_PASS_8 1, 0 |
579 |
|
.endfunc |
580 |
xvid_H_Pass_Avrg_Up_8_mmx: |
xvid_H_Pass_Avrg_Up_8_mmx: |
581 |
H_PASS_8 2, 0 |
H_PASS_8 2, 0 |
582 |
|
.endfunc |
583 |
|
|
584 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
585 |
;// 16x? avrg Functions |
;// 16x? avrg Functions |
586 |
|
|
587 |
xvid_H_Pass_Add_16_mmx: |
xvid_H_Pass_Add_16_mmx: |
588 |
H_PASS_16 0, 1 |
H_PASS_16 0, 1 |
589 |
|
.endfunc |
590 |
xvid_H_Pass_Avrg_Add_16_mmx: |
xvid_H_Pass_Avrg_Add_16_mmx: |
591 |
H_PASS_16 1, 1 |
H_PASS_16 1, 1 |
592 |
|
.endfunc |
593 |
xvid_H_Pass_Avrg_Up_Add_16_mmx: |
xvid_H_Pass_Avrg_Up_Add_16_mmx: |
594 |
H_PASS_16 2, 1 |
H_PASS_16 2, 1 |
595 |
|
.endfunc |
596 |
|
|
597 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
598 |
;// 8x? avrg Functions |
;// 8x? avrg Functions |
599 |
|
|
600 |
xvid_H_Pass_8_Add_mmx: |
xvid_H_Pass_8_Add_mmx: |
601 |
H_PASS_8 0, 1 |
H_PASS_8 0, 1 |
602 |
|
.endfunc |
603 |
xvid_H_Pass_Avrg_8_Add_mmx: |
xvid_H_Pass_Avrg_8_Add_mmx: |
604 |
H_PASS_8 1, 1 |
H_PASS_8 1, 1 |
605 |
|
.endfunc |
606 |
xvid_H_Pass_Avrg_Up_8_Add_mmx: |
xvid_H_Pass_Avrg_Up_8_Add_mmx: |
607 |
H_PASS_8 2, 1 |
H_PASS_8 2, 1 |
608 |
|
.endfunc |
609 |
|
|
610 |
|
|
611 |
|
|
1012 |
|
|
1013 |
xvid_V_Pass_16_mmx: |
xvid_V_Pass_16_mmx: |
1014 |
V_PASS_16 0, 0 |
V_PASS_16 0, 0 |
1015 |
|
.endfunc |
1016 |
xvid_V_Pass_Avrg_16_mmx: |
xvid_V_Pass_Avrg_16_mmx: |
1017 |
V_PASS_16 1, 0 |
V_PASS_16 1, 0 |
1018 |
|
.endfunc |
1019 |
xvid_V_Pass_Avrg_Up_16_mmx: |
xvid_V_Pass_Avrg_Up_16_mmx: |
1020 |
V_PASS_16 2, 0 |
V_PASS_16 2, 0 |
1021 |
|
.endfunc |
1022 |
|
|
1023 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
1024 |
;// 8x? copy Functions |
;// 8x? copy Functions |
1025 |
|
|
1026 |
xvid_V_Pass_8_mmx: |
xvid_V_Pass_8_mmx: |
1027 |
V_PASS_8 0, 0 |
V_PASS_8 0, 0 |
1028 |
|
.endfunc |
1029 |
xvid_V_Pass_Avrg_8_mmx: |
xvid_V_Pass_Avrg_8_mmx: |
1030 |
V_PASS_8 1, 0 |
V_PASS_8 1, 0 |
1031 |
|
.endfunc |
1032 |
xvid_V_Pass_Avrg_Up_8_mmx: |
xvid_V_Pass_Avrg_Up_8_mmx: |
1033 |
V_PASS_8 2, 0 |
V_PASS_8 2, 0 |
1034 |
|
.endfunc |
1035 |
|
|
1036 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
1037 |
;// 16x? avrg Functions |
;// 16x? avrg Functions |
1038 |
|
|
1039 |
xvid_V_Pass_Add_16_mmx: |
xvid_V_Pass_Add_16_mmx: |
1040 |
V_PASS_16 0, 1 |
V_PASS_16 0, 1 |
1041 |
|
.endfunc |
1042 |
xvid_V_Pass_Avrg_Add_16_mmx: |
xvid_V_Pass_Avrg_Add_16_mmx: |
1043 |
V_PASS_16 1, 1 |
V_PASS_16 1, 1 |
1044 |
|
.endfunc |
1045 |
xvid_V_Pass_Avrg_Up_Add_16_mmx: |
xvid_V_Pass_Avrg_Up_Add_16_mmx: |
1046 |
V_PASS_16 2, 1 |
V_PASS_16 2, 1 |
1047 |
|
.endfunc |
1048 |
|
|
1049 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
1050 |
;// 8x? avrg Functions |
;// 8x? avrg Functions |
1051 |
|
|
1052 |
xvid_V_Pass_8_Add_mmx: |
xvid_V_Pass_8_Add_mmx: |
1053 |
V_PASS_8 0, 1 |
V_PASS_8 0, 1 |
1054 |
|
.endfunc |
1055 |
xvid_V_Pass_Avrg_8_Add_mmx: |
xvid_V_Pass_Avrg_8_Add_mmx: |
1056 |
V_PASS_8 1, 1 |
V_PASS_8 1, 1 |
1057 |
|
.endfunc |
1058 |
xvid_V_Pass_Avrg_Up_8_Add_mmx: |
xvid_V_Pass_Avrg_Up_8_Add_mmx: |
1059 |
V_PASS_8 2, 1 |
V_PASS_8 2, 1 |
1060 |
|
.endfunc |
1061 |
|
|
1062 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |