[xiph-commits] r11673 - in branches/theora-playtime: lib/x86_32_vs win32/VS2005/libtheora

illiminable at svn.xiph.org illiminable at svn.xiph.org
Thu Jun 29 14:12:56 PDT 2006


Author: illiminable
Date: 2006-06-29 14:12:44 -0700 (Thu, 29 Jun 2006)
New Revision: 11673

Modified:
   branches/theora-playtime/lib/x86_32_vs/dct_decode_sse2.c
   branches/theora-playtime/lib/x86_32_vs/dsp_sse2.c
   branches/theora-playtime/lib/x86_32_vs/idct_sse2.c
   branches/theora-playtime/lib/x86_32_vs/quant_sse2.c
   branches/theora-playtime/lib/x86_32_vs/recon_sse2.c
   branches/theora-playtime/lib/x86_32_vs/scan_sse2.c
   branches/theora-playtime/win32/VS2005/libtheora/libtheora.vcproj
Log:
* Comment out all the sse function pointer assignments so they can be added one by one and tested

Modified: branches/theora-playtime/lib/x86_32_vs/dct_decode_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/dct_decode_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/dct_decode_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -188,6 +188,6 @@
   TH_DEBUG("enabling accelerated x86_32 mmx dsp functions.\n");
 
   ClearPerfData(&filter_horiz_perf);
-  funcs->FilterHoriz = FilterHoriz__sse2;
+  //funcs->FilterHoriz = FilterHoriz__sse2;
 
 }
\ No newline at end of file

Modified: branches/theora-playtime/lib/x86_32_vs/dsp_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/dsp_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/dsp_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -1635,20 +1635,20 @@
 
 void dsp_sse2_init(DspFunctions *funcs)
 {
-  TH_DEBUG("enabling accelerated x86_32 mmx dsp functions.\n");
-  funcs->sub8x8 = sub8x8__sse2;
-  funcs->sub8x8_128 = sub8x8_128__sse2;
-  funcs->sub8x8avg2 = sub8x8avg2__sse2;
-  funcs->row_sad8 = row_sad8__sse2;
-  funcs->col_sad8x8 = col_sad8x8__sse2;
+  TH_DEBUG("enabling accelerated x86_32 sse2 dsp functions.\n");
+  //funcs->sub8x8 = sub8x8__sse2;
+  //funcs->sub8x8_128 = sub8x8_128__sse2;
+  //funcs->sub8x8avg2 = sub8x8avg2__sse2;
+  //funcs->row_sad8 = row_sad8__sse2;
+  //funcs->col_sad8x8 = col_sad8x8__sse2;
   
   
   /* The mmx versions are faster right now */
-  funcs->sad8x8 = sad8x8__sse2;
-  funcs->sad8x8_thres = sad8x8_thres__sse2;
+  //funcs->sad8x8 = sad8x8__sse2;
+  //funcs->sad8x8_thres = sad8x8_thres__sse2;
  
   
-  
+  /* -------------- Not written --------- */
   //funcs->sad8x8_xy2_thres = sad8x8_xy2_thres__sse2;
   //funcs->intra8x8_err = intra8x8_err__sse2;
   //funcs->inter8x8_err = inter8x8_err__sse2;

Modified: branches/theora-playtime/lib/x86_32_vs/idct_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/idct_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/idct_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -781,12 +781,15 @@
 
 
 
-    /* TODO::: Match function order */
-  funcs->dequant_slow = dequant_slow__sse2;
-  funcs->IDct1 = IDct1__sse2;
-  funcs->IDct10 = IDct10__sse2;
-  funcs->dequant_slow10 = dequant_slow10__sse2;
-  funcs->IDctSlow = IDctSlow__sse2;
-  funcs->dequant_slow = dequant_slow__sse2;
+    
+  //funcs->dequant_slow = dequant_slow__sse2;
+  //funcs->IDct1 = IDct1__sse2;
+  //funcs->dequant_slow10 = dequant_slow10__sse2;
+  //funcs->dequant_slow = dequant_slow__sse2;
 
+
+  /* ---------- Not written ------------ */
+  //funcs->IDctSlow = IDctSlow__sse2;
+  //funcs->IDct10 = IDct10__sse2;
+
 }
\ No newline at end of file

Modified: branches/theora-playtime/lib/x86_32_vs/quant_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/quant_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/quant_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -441,11 +441,8 @@
 #ifndef USE_NO_SSE2
   TH_DEBUG("enabling accelerated x86_32 sse2 quant functions.\n");
 
-  funcs->quantize = quantize__sse2;
+  //funcs->quantize = quantize__sse2;
 
 #endif
-  //funcs->copy8x8 = copy8x8__sse2;
-  //funcs->recon_intra8x8 = recon_intra8x8__sse2;
-  //funcs->recon_inter8x8 = recon_inter8x8__sse2;
-  //funcs->recon_inter8x8_half = recon_inter8x8_half__sse2;
+
 }
\ No newline at end of file

Modified: branches/theora-playtime/lib/x86_32_vs/recon_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/recon_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/recon_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -607,9 +607,11 @@
 void dsp_sse2_recon_init(DspFunctions *funcs)
 {
   TH_DEBUG("enabling accelerated x86_32 sse2 recon functions.\n");
-  funcs->copy8x8 = copy8x8__sse2;
-  funcs->recon_intra8x8 = recon_intra8x8__sse2;
-  funcs->recon_inter8x8 = recon_inter8x8__sse2;
-  funcs->recon_inter8x8_half = recon_inter8x8_half__sse2;
+
+
+  //funcs->copy8x8 = copy8x8__sse2;
+  //funcs->recon_intra8x8 = recon_intra8x8__sse2;
+  //funcs->recon_inter8x8 = recon_inter8x8__sse2;
+  //funcs->recon_inter8x8_half = recon_inter8x8_half__sse2;
 }
 

Modified: branches/theora-playtime/lib/x86_32_vs/scan_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/scan_sse2.c	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/lib/x86_32_vs/scan_sse2.c	2006-06-29 21:12:44 UTC (rev 11673)
@@ -928,6 +928,8 @@
 void dsp_sse2_scan_init(DspFunctions *funcs)
 {
   TH_DEBUG("enabling accelerated x86_32 sse2 scan functions.\n");
-  funcs->RowDiffScan = RowDiffScan__sse2;
 
+
+  //funcs->RowDiffScan = RowDiffScan__sse2;
+
 }
\ No newline at end of file

Modified: branches/theora-playtime/win32/VS2005/libtheora/libtheora.vcproj
===================================================================
--- branches/theora-playtime/win32/VS2005/libtheora/libtheora.vcproj	2006-06-29 20:19:25 UTC (rev 11672)
+++ branches/theora-playtime/win32/VS2005/libtheora/libtheora.vcproj	2006-06-29 21:12:44 UTC (rev 11673)
@@ -114,7 +114,7 @@
 				OmitFramePointers="true"
 				WholeProgramOptimization="true"
 				AdditionalIncludeDirectories="..\..\..\include;..\..\..\..\libogg\include;..\..\..\lib;G:\Dev\xiph\zens_sdk\lib\libtheora-playtime\lib\x86_32_vs"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBTHEORA_EXPORTS; USE_ASM; USE_NO_SSE"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBTHEORA_EXPORTS; USE_ASM"
 				StringPooling="true"
 				ExceptionHandling="0"
 				RuntimeLibrary="0"



More information about the commits mailing list