# HG changeset patch # User michaelni # Date 1030986520 0 # Node ID 4263629270c80efd6be927fb9f257add223ca356 # Parent eaa9ef2e2557839fe0a85f40f8b9c011ac70cebf 10l (compilation if defined ARCH_ALPHA) diff -r eaa9ef2e2557 -r 4263629270c8 simple_idct.c --- 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); } }