29 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
30 |
global _%1:function %1.endfunc-%1 |
global _%1:function %1.endfunc-%1 |
31 |
%define %1 _%1:function %1.endfunc-%1 |
%define %1 _%1:function %1.endfunc-%1 |
32 |
|
%define ENDFUNC .endfunc |
33 |
%else |
%else |
34 |
global _%1 |
global _%1 |
35 |
%define %1 _%1 |
%define %1 _%1 |
36 |
|
%define ENDFUNC |
37 |
%endif |
%endif |
38 |
%else |
%else |
39 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
40 |
global %1:function %1.endfunc-%1 |
global %1:function %1.endfunc-%1 |
41 |
|
%define ENDFUNC .endfunc |
42 |
%else |
%else |
43 |
global %1 |
global %1 |
44 |
|
%define ENDFUNC |
45 |
%endif |
%endif |
46 |
%endif |
%endif |
47 |
%endmacro |
%endmacro |
193 |
pop esi |
pop esi |
194 |
|
|
195 |
ret |
ret |
196 |
.endfunc |
ENDFUNC |
197 |
|
|
198 |
|
|
199 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
253 |
pop esi |
pop esi |
254 |
|
|
255 |
ret |
ret |
256 |
.endfunc |
ENDFUNC |
257 |
|
|
258 |
|
|
259 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
345 |
pop esi |
pop esi |
346 |
|
|
347 |
ret |
ret |
348 |
.endfunc |
ENDFUNC |
349 |
|
|
350 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
351 |
; |
; |
380 |
pop esi |
pop esi |
381 |
|
|
382 |
ret |
ret |
383 |
.endfunc |
ENDFUNC |
384 |
|
|
385 |
|
|
386 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
418 |
pop esi |
pop esi |
419 |
|
|
420 |
ret |
ret |
421 |
.endfunc |
ENDFUNC |
422 |
|
|
423 |
|
|
424 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
459 |
pop esi |
pop esi |
460 |
|
|
461 |
ret |
ret |
462 |
.endfunc |
ENDFUNC |
463 |
|
|
464 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
465 |
; |
; |
592 |
AVG2_MMX_RND0 |
AVG2_MMX_RND0 |
593 |
lea ecx, [ecx+2*edx] |
lea ecx, [ecx+2*edx] |
594 |
|
|
595 |
.start0 |
.start0: |
596 |
|
|
597 |
AVG2_MMX_RND0 |
AVG2_MMX_RND0 |
598 |
lea ecx, [ecx+2*edx] |
lea ecx, [ecx+2*edx] |
605 |
pop ebx |
pop ebx |
606 |
ret |
ret |
607 |
|
|
608 |
.rounding1 |
.rounding1: |
609 |
mov eax, [esp + 4 + 24] ; height -> eax |
mov eax, [esp + 4 + 24] ; height -> eax |
610 |
sub eax, 8 |
sub eax, 8 |
611 |
test eax, eax |
test eax, eax |
622 |
AVG2_MMX_RND1 |
AVG2_MMX_RND1 |
623 |
lea ecx, [ecx+2*edx] |
lea ecx, [ecx+2*edx] |
624 |
|
|
625 |
.start1 |
.start1: |
626 |
|
|
627 |
AVG2_MMX_RND1 |
AVG2_MMX_RND1 |
628 |
lea ecx, [ecx+2*edx] |
lea ecx, [ecx+2*edx] |
634 |
|
|
635 |
pop ebx |
pop ebx |
636 |
ret |
ret |
637 |
.endfunc |
ENDFUNC |
638 |
|
|
639 |
|
|
640 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
802 |
pop ebx |
pop ebx |
803 |
ret |
ret |
804 |
|
|
805 |
.rounding1 |
.rounding1: |
806 |
AVG4_MMX_RND1 |
AVG4_MMX_RND1 |
807 |
lea ecx, [ecx+edx] |
lea ecx, [ecx+edx] |
808 |
AVG4_MMX_RND1 |
AVG4_MMX_RND1 |
823 |
pop edi |
pop edi |
824 |
pop ebx |
pop ebx |
825 |
ret |
ret |
826 |
.endfunc |
ENDFUNC |
827 |
|
|
828 |
|
|
829 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
934 |
LOWPASS_6TAP_H_MMX |
LOWPASS_6TAP_H_MMX |
935 |
|
|
936 |
ret |
ret |
937 |
.endfunc |
ENDFUNC |
938 |
|
|
939 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
940 |
; |
; |
1052 |
|
|
1053 |
pop ebx |
pop ebx |
1054 |
ret |
ret |
1055 |
.endfunc |
ENDFUNC |
1056 |
|
|
1057 |
;=========================================================================== |
;=========================================================================== |
1058 |
; |
; |
1165 |
ADD_FF_MMX 1 |
ADD_FF_MMX 1 |
1166 |
ADD_FF_MMX 0 |
ADD_FF_MMX 0 |
1167 |
ret |
ret |
1168 |
.endfunc |
ENDFUNC |
1169 |
|
|
1170 |
;=========================================================================== |
;=========================================================================== |
1171 |
; |
; |
1211 |
lea ecx,[ecx+edx] |
lea ecx,[ecx+edx] |
1212 |
ADD_FH_MMX |
ADD_FH_MMX |
1213 |
ret |
ret |
1214 |
.endfunc |
ENDFUNC |
1215 |
|
|
1216 |
;=========================================================================== |
;=========================================================================== |
1217 |
; |
; |
1258 |
lea ecx,[ecx+edx] |
lea ecx,[ecx+edx] |
1259 |
ADD_HF_MMX |
ADD_HF_MMX |
1260 |
ret |
ret |
1261 |
.endfunc |
ENDFUNC |
1262 |
|
|
1263 |
; The trick is to correct the result of 'pavgb' with some combination of the |
; The trick is to correct the result of 'pavgb' with some combination of the |
1264 |
; lsb's of the 4 input values i,j,k,l, and their intermediate 'pavgb' (s and t). |
; lsb's of the 4 input values i,j,k,l, and their intermediate 'pavgb' (s and t). |
1369 |
ADD_HH_MMX |
ADD_HH_MMX |
1370 |
|
|
1371 |
ret |
ret |
1372 |
.endfunc |
ENDFUNC |
1373 |
|
|
1374 |
|
|
1375 |
%ifidn __OUTPUT_FORMAT__,elf |
%ifidn __OUTPUT_FORMAT__,elf |