# HG changeset patch # User aurel # Date 1172624119 0 # Node ID 3d2b2a2a664ea64f191ed5151bcf770228a49c6c # Parent 76fa19d234850da4a84a4d8fbcd631c5da4ca25b enable some 64bit optimized code on 64bit arch diff -r 76fa19d23485 -r 3d2b2a2a664e simple_idct.c --- a/simple_idct.c Tue Feb 27 09:56:09 2007 +0000 +++ b/simple_idct.c Wed Feb 28 00:55:19 2007 +0000 @@ -78,13 +78,13 @@ static inline void idctRowCondDC (DCTELEM * row) { int a0, a1, a2, a3, b0, b1, b2, b3; -#ifdef FAST_64BIT +#ifdef HAVE_FAST_64BIT uint64_t temp; #else uint32_t temp; #endif -#ifdef FAST_64BIT +#ifdef HAVE_FAST_64BIT #ifdef WORDS_BIGENDIAN #define ROW0_MASK 0xffff000000000000LL #else @@ -146,7 +146,7 @@ MUL16(b3, W7, row[1]); MAC16(b3, -W5, row[3]); -#ifdef FAST_64BIT +#ifdef HAVE_FAST_64BIT temp = ((uint64_t*)row)[1]; #else temp = ((uint32_t*)row)[2] | ((uint32_t*)row)[3];