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: fdct_sse2_skal.asm,v 1.2 2004-03-22 22:36:23 edgomez Exp $ |
; * $Id: fdct_sse2_skal.asm,v 1.5 2004-08-29 10:02:38 edgomez Exp $ |
23 |
; * |
; * |
24 |
; ***************************************************************************/ |
; ***************************************************************************/ |
25 |
|
|
27 |
|
|
28 |
%macro cglobal 1 |
%macro cglobal 1 |
29 |
%ifdef PREFIX |
%ifdef PREFIX |
30 |
|
%ifdef MARK_FUNCS |
31 |
|
global _%1:function %1.endfunc-%1 |
32 |
|
%define %1 _%1:function %1.endfunc-%1 |
33 |
|
%else |
34 |
global _%1 |
global _%1 |
35 |
%define %1 _%1 |
%define %1 _%1 |
36 |
|
%endif |
37 |
|
%else |
38 |
|
%ifdef MARK_FUNCS |
39 |
|
global %1:function %1.endfunc-%1 |
40 |
%else |
%else |
41 |
global %1 |
global %1 |
42 |
%endif |
%endif |
43 |
|
%endif |
44 |
%endmacro |
%endmacro |
45 |
|
|
46 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
151 |
;============================================================================= |
;============================================================================= |
152 |
|
|
153 |
%ifdef FORMAT_COFF |
%ifdef FORMAT_COFF |
154 |
SECTION .rodata data |
SECTION .rodata |
155 |
%else |
%else |
156 |
SECTION .rodata data align=16 |
SECTION .rodata align=16 |
157 |
%endif |
%endif |
158 |
|
|
159 |
ALIGN 16 |
ALIGN 16 |
455 |
iMTX_MULT 7, iTab2, Idct_Rnd7, 11 |
iMTX_MULT 7, iTab2, Idct_Rnd7, 11 |
456 |
iLLM_PASS ecx+0 |
iLLM_PASS ecx+0 |
457 |
ret |
ret |
458 |
|
.endfunc |
459 |
|
|
460 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
461 |
; Helper macro TEST_ROW (test a null row) |
; Helper macro TEST_ROW (test a null row) |
530 |
|
|
531 |
iLLM_PASS ecx+0 |
iLLM_PASS ecx+0 |
532 |
ret |
ret |
533 |
|
.endfunc |
534 |
|
|
535 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
536 |
; Helper macro fLLM_PASS |
; Helper macro fLLM_PASS |
696 |
fMTX_MULT 6, fTab3, Fdct_Rnd1 |
fMTX_MULT 6, fTab3, Fdct_Rnd1 |
697 |
fMTX_MULT 7, fTab2, Fdct_Rnd1 |
fMTX_MULT 7, fTab2, Fdct_Rnd1 |
698 |
ret |
ret |
699 |
|
.endfunc |
700 |
|
|