diff simple_idct.c @ 642:4263629270c8 libavcodec

10l (compilation if defined ARCH_ALPHA)
author michaelni
date Mon, 02 Sep 2002 17:08:40 +0000
parents e7b72c1dfa1b
children 2b7ff6dfee35
line wrap: on
line diff
--- a/simple_idct.c	Mon Sep 02 16:56:29 2002 +0000
+++ b/simple_idct.c	Mon Sep 02 17:08:40 2002 +0000
@@ -173,7 +173,7 @@
 	return 2;
 }
 
-inline static void idctSparseCol(int16_t *col)
+inline static void idctSparseCol2(int16_t *col)
 {
         int a0, a1, a2, a3, b0, b1, b2, b3;
 
@@ -486,7 +486,6 @@
 static inline void idctSparseCol (int16_t * col)
 {
 	int a0, a1, a2, a3, b0, b1, b2, b3;
-        UINT8 *cm = cropTbl + MAX_NEG_CROP;
 
         /* XXX: I did that only to give same values as previous code */
 	a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
@@ -597,7 +596,7 @@
         } else if (rowsConstant) {
 		uint64_t *lblock = (uint64_t *) block;
 
-		idctSparseCol(block);
+		idctSparseCol2(block);
 		for (i = 0; i < 8; i++) {
 			uint64_t v = (uint16_t) block[i * 8];
 
@@ -609,7 +608,7 @@
 		}
 	} else {
 		for (i = 0; i < 8; i++)
-			idctSparseCol(block + i);
+			idctSparseCol2(block + i);
 	}
 }