changeset 93:7c86da6ce78e libpostproc

Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
author diego
date Tue, 18 Mar 2008 22:14:41 +0000
parents a8ed701a0873
children 094413c45b0f
files postprocess.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/postprocess.c	Mon Mar 17 23:44:46 2008 +0000
+++ b/postprocess.c	Tue Mar 18 22:14:41 2008 +0000
@@ -567,11 +567,9 @@
 #define COMPILE_C
 #endif
 
-#ifdef ARCH_POWERPC
 #ifdef HAVE_ALTIVEC
 #define COMPILE_ALTIVEC
 #endif //HAVE_ALTIVEC
-#endif //ARCH_POWERPC
 
 #if defined(ARCH_X86)
 
@@ -601,7 +599,6 @@
 #include "postprocess_template.c"
 #endif
 
-#ifdef ARCH_POWERPC
 #ifdef COMPILE_ALTIVEC
 #undef RENAME
 #define HAVE_ALTIVEC
@@ -609,7 +606,6 @@
 #include "postprocess_altivec_template.c"
 #include "postprocess_template.c"
 #endif
-#endif //ARCH_POWERPC
 
 //MMX versions
 #ifdef COMPILE_MMX
@@ -665,13 +661,11 @@
         else
                 postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
 #else
-#ifdef ARCH_POWERPC
 #ifdef HAVE_ALTIVEC
         if(c->cpuCaps & PP_CPU_CAPS_ALTIVEC)
                 postProcess_altivec(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
         else
 #endif
-#endif
                 postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
 #endif
 #else //RUNTIME_CPUDETECT