[xiph-commits] r11350 - branches/theora-mmx/lib
j at svn.xiph.org
j at svn.xiph.org
Sat May 6 03:09:04 PDT 2006
Author: j
Date: 2006-05-06 03:09:00 -0700 (Sat, 06 May 2006)
New Revision: 11350
Modified:
branches/theora-mmx/lib/dct.c
branches/theora-mmx/lib/dsp.c
branches/theora-mmx/lib/reconstruct.c
Log:
also call the init functions on __x86_64__
Modified: branches/theora-mmx/lib/dct.c
===================================================================
--- branches/theora-mmx/lib/dct.c 2006-05-06 09:46:47 UTC (rev 11349)
+++ branches/theora-mmx/lib/dct.c 2006-05-06 10:09:00 UTC (rev 11350)
@@ -256,7 +256,7 @@
void dsp_dct_init (DspFunctions *funcs)
{
funcs->fdct_short = fdct_short__c;
-#if defined(__i386__)
+#if (defined(__i386__) || defined(__x86_64__))
if (cpu_flags & CPU_X86_MMX) {
dsp_mmx_fdct_init(&dsp_funcs);
}
Modified: branches/theora-mmx/lib/dsp.c
===================================================================
--- branches/theora-mmx/lib/dsp.c 2006-05-06 09:46:47 UTC (rev 11349)
+++ branches/theora-mmx/lib/dsp.c 2006-05-06 10:09:00 UTC (rev 11350)
@@ -410,7 +410,7 @@
dsp_recon_init (&dsp_funcs);
dsp_dct_init (&dsp_funcs);
-#if defined(__i386__)
+#if (defined(__i386__) || defined(__x86_64__))
if (cpu_flags & CPU_X86_MMX) {
dsp_mmx_init(&dsp_funcs);
}
Modified: branches/theora-mmx/lib/reconstruct.c
===================================================================
--- branches/theora-mmx/lib/reconstruct.c 2006-05-06 09:46:47 UTC (rev 11349)
+++ branches/theora-mmx/lib/reconstruct.c 2006-05-06 10:09:00 UTC (rev 11350)
@@ -104,7 +104,7 @@
funcs->recon_intra8x8 = recon_intra8x8__c;
funcs->recon_inter8x8 = recon_inter8x8__c;
funcs->recon_inter8x8_half = recon_inter8x8_half__c;
-#if defined(__i386__)
+#if (defined(__i386__) || defined(__x86_64__))
if (cpu_flags & CPU_X86_MMX) {
dsp_mmx_recon_init(&dsp_funcs);
}
More information about the commits
mailing list