32 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
33 |
global _%1:function %1.endfunc-%1 |
global _%1:function %1.endfunc-%1 |
34 |
%define %1 _%1:function %1.endfunc-%1 |
%define %1 _%1:function %1.endfunc-%1 |
35 |
|
%define ENDFUNC .endfunc |
36 |
%else |
%else |
37 |
global _%1 |
global _%1 |
38 |
%define %1 _%1 |
%define %1 _%1 |
39 |
|
%define ENDFUNC |
40 |
%endif |
%endif |
41 |
%else |
%else |
42 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
43 |
global %1:function %1.endfunc-%1 |
global %1:function %1.endfunc-%1 |
44 |
|
%define ENDFUNC .endfunc |
45 |
%else |
%else |
46 |
global %1 |
global %1 |
47 |
|
%define ENDFUNC |
48 |
%endif |
%endif |
49 |
%endif |
%endif |
50 |
%endmacro |
%endmacro |
78 |
cglobal transfer_8to16sub2ro_xmm |
cglobal transfer_8to16sub2ro_xmm |
79 |
cglobal transfer_16to8add_mmx |
cglobal transfer_16to8add_mmx |
80 |
cglobal transfer8x8_copy_mmx |
cglobal transfer8x8_copy_mmx |
81 |
|
cglobal transfer8x4_copy_mmx |
82 |
|
|
83 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
84 |
; |
; |
117 |
COPY_8_TO_16 2 |
COPY_8_TO_16 2 |
118 |
COPY_8_TO_16 3 |
COPY_8_TO_16 3 |
119 |
ret |
ret |
120 |
.endfunc |
ENDFUNC |
121 |
|
|
122 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
123 |
; |
; |
153 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
154 |
COPY_16_TO_8 3 |
COPY_16_TO_8 3 |
155 |
ret |
ret |
156 |
.endfunc |
ENDFUNC |
157 |
|
|
158 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
159 |
; |
; |
217 |
|
|
218 |
pop ebx |
pop ebx |
219 |
ret |
ret |
220 |
.endfunc |
ENDFUNC |
221 |
|
|
222 |
|
|
223 |
ALIGN 16 |
ALIGN 16 |
236 |
|
|
237 |
pop ebx |
pop ebx |
238 |
ret |
ret |
239 |
.endfunc |
ENDFUNC |
240 |
|
|
241 |
|
|
242 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
335 |
pop esi |
pop esi |
336 |
pop ebx |
pop ebx |
337 |
ret |
ret |
338 |
.endfunc |
ENDFUNC |
339 |
|
|
340 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
341 |
; |
; |
403 |
pop esi |
pop esi |
404 |
pop ebx |
pop ebx |
405 |
ret |
ret |
406 |
.endfunc |
ENDFUNC |
407 |
|
|
408 |
|
|
409 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
470 |
pop esi |
pop esi |
471 |
pop ebx |
pop ebx |
472 |
ret |
ret |
473 |
.endfunc |
ENDFUNC |
474 |
|
|
475 |
|
|
476 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
516 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
517 |
COPY_16_TO_8_ADD 3 |
COPY_16_TO_8_ADD 3 |
518 |
ret |
ret |
519 |
.endfunc |
ENDFUNC |
520 |
|
|
521 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
522 |
; |
; |
549 |
lea ecx,[ecx+2*edx] |
lea ecx,[ecx+2*edx] |
550 |
COPY_8_TO_8 |
COPY_8_TO_8 |
551 |
ret |
ret |
552 |
.endfunc |
ENDFUNC |
553 |
|
|
554 |
|
;----------------------------------------------------------------------------- |
555 |
|
; |
556 |
|
; void transfer8x4_copy_mmx(uint8_t * const dst, |
557 |
|
; const uint8_t * const src, |
558 |
|
; const uint32_t stride); |
559 |
|
; |
560 |
|
; |
561 |
|
;----------------------------------------------------------------------------- |
562 |
|
|
563 |
|
ALIGN 16 |
564 |
|
transfer8x4_copy_mmx: |
565 |
|
mov ecx, [esp+ 4] ; Dst |
566 |
|
mov eax, [esp+ 8] ; Src |
567 |
|
mov edx, [esp+12] ; Stride |
568 |
|
|
569 |
|
COPY_8_TO_8 |
570 |
|
lea ecx,[ecx+2*edx] |
571 |
|
COPY_8_TO_8 |
572 |
|
ret |
573 |
|
ENDFUNC |
574 |
|
|
575 |
|
|
576 |
|
%ifidn __OUTPUT_FORMAT__,elf |
577 |
|
section ".note.GNU-stack" noalloc noexec nowrite progbits |
578 |
|
%endif |
579 |
|
|