19 |
; * along with this program; if not, write to the Free Software |
; * along with this program; if not, write to the Free Software |
20 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
; * |
; * |
22 |
; * $Id: idct_mmx.asm,v 1.8 2004-07-24 11:46:08 edgomez Exp $ |
; * $Id: idct_mmx.asm,v 1.12 2008-11-11 20:46:24 Isibaar Exp $ |
23 |
; * |
; * |
24 |
; ***************************************************************************/ |
; ***************************************************************************/ |
25 |
|
|
52 |
|
|
53 |
%macro cglobal 1 |
%macro cglobal 1 |
54 |
%ifdef PREFIX |
%ifdef PREFIX |
55 |
|
%ifdef MARK_FUNCS |
56 |
|
global _%1:function %1.endfunc-%1 |
57 |
|
%define %1 _%1:function %1.endfunc-%1 |
58 |
|
%define ENDFUNC .endfunc |
59 |
|
%else |
60 |
global _%1 |
global _%1 |
61 |
%define %1 _%1 |
%define %1 _%1 |
62 |
|
%define ENDFUNC |
63 |
|
%endif |
64 |
|
%else |
65 |
|
%ifdef MARK_FUNCS |
66 |
|
global %1:function %1.endfunc-%1 |
67 |
|
%define ENDFUNC .endfunc |
68 |
%else |
%else |
69 |
global %1 |
global %1 |
70 |
|
%define ENDFUNC |
71 |
|
%endif |
72 |
%endif |
%endif |
73 |
%endmacro |
%endmacro |
74 |
|
|
607 |
DCT_8_INV_COL eax+8, eax+8 |
DCT_8_INV_COL eax+8, eax+8 |
608 |
|
|
609 |
ret |
ret |
610 |
|
ENDFUNC |
611 |
|
|
612 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
613 |
; void idct_xmm(uint16_t block[64]); |
; void idct_xmm(uint16_t block[64]); |
632 |
DCT_8_INV_COL eax+8, eax+8 |
DCT_8_INV_COL eax+8, eax+8 |
633 |
|
|
634 |
ret |
ret |
635 |
|
ENDFUNC |
636 |
|
|
637 |
|
|
638 |
|
%ifidn __OUTPUT_FORMAT__,elf |
639 |
|
section ".note.GNU-stack" noalloc noexec nowrite progbits |
640 |
|
%endif |
641 |
|
|