Mercurial > libavcodec.hg
changeset 642:4263629270c8 libavcodec
10l (compilation if defined ARCH_ALPHA)
author | michaelni |
---|---|
date | Mon, 02 Sep 2002 17:08:40 +0000 |
parents | eaa9ef2e2557 |
children | 3db611caee55 |
files | simple_idct.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
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); } }