[xiph-commits] r14324 - branches/theora-thusnelda/lib/enc/x86_32

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Dec 26 11:44:03 PST 2007


Author: xiphmont
Date: 2007-12-26 11:44:02 -0800 (Wed, 26 Dec 2007)
New Revision: 14324

Modified:
   branches/theora-thusnelda/lib/enc/x86_32/dsp_mmx.c
   branches/theora-thusnelda/lib/enc/x86_32/idct_mmx.c
Log:
Correct some x86_32 mmx typos



Modified: branches/theora-thusnelda/lib/enc/x86_32/dsp_mmx.c
===================================================================
--- branches/theora-thusnelda/lib/enc/x86_32/dsp_mmx.c	2007-12-25 20:13:46 UTC (rev 14323)
+++ branches/theora-thusnelda/lib/enc/x86_32/dsp_mmx.c	2007-12-26 19:44:02 UTC (rev 14324)
@@ -161,7 +161,7 @@
        "+r" (ReconPtr1),
        "+r" (ReconPtr2),
        "+r" (DctInputPtr)
-     : "m" (PixelsPerLine),
+     : "m" (PixelsPerLine)
      : "memory"
   );
 }
@@ -341,7 +341,7 @@
      : "=m" (DiffVal),
        "+r" (ptr1), 
        "+r" (ptr2) 
-     : "r" (stride1)
+     : "r" (stride)
      : "memory"
   );
 
@@ -412,7 +412,7 @@
        "+r" (SrcData), 
        "+r" (RefDataPtr1), 
        "+r" (RefDataPtr2) 
-     : "m" (SrcStride)
+    : "m" (Stride)
      : "edi", "memory"
   );
 

Modified: branches/theora-thusnelda/lib/enc/x86_32/idct_mmx.c
===================================================================
--- branches/theora-thusnelda/lib/enc/x86_32/idct_mmx.c	2007-12-25 20:13:46 UTC (rev 14323)
+++ branches/theora-thusnelda/lib/enc/x86_32/idct_mmx.c	2007-12-26 19:44:02 UTC (rev 14324)
@@ -599,9 +599,9 @@
  *
  ***************************************************************************************
  */
-void IDctSlow__mmx(  Q_LIST_ENTRY * InputData,
-                ogg_int16_t *QuantMatrix,
-                ogg_int16_t * OutputData ) {
+void IDctSlow__mmx(ogg_int16_t * InputData,
+		   ogg_int16_t *QuantMatrix,
+		   ogg_int16_t * OutputData ) {
 
 #   define MIDM(M,I)    MtoSTR(M+I*8(%ecx))
 #   define M(I)         MIDM( MaskOffset , I )
@@ -1068,7 +1068,7 @@
 
 /* --------------------------------------------------------------- */
 /* IDCT 10 */
-void IDct10__mmx( Q_LIST_ENTRY * InputData,
+void IDct10__mmx( ogg_int16_t *InputData,
              ogg_int16_t *QuantMatrix,
              ogg_int16_t * OutputData ) {
 
@@ -1358,7 +1358,7 @@
 );
 //End of ColumnIDCT_3
 
-void IDct3__mmx( Q_LIST_ENTRY * InputData,
+void IDct3__mmx( ogg_int16_t * InputData,
             ogg_int16_t *QuantMatrix,
             ogg_int16_t * OutputData ) {
 



More information about the commits mailing list