diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-18 22:14:41 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-18 22:14:41 +0000 |
commit | 0866c56f0abf0bac5df7e67eb9a65e8f1e8c4372 (patch) | |
tree | 06306fd265fdaf209f053806e9cf3130d0927f9f /libpostproc | |
parent | 70fa2e27ec1344814851d045d3bb08eb6d622bd5 (diff) | |
download | ffmpeg-0866c56f0abf0bac5df7e67eb9a65e8f1e8c4372.tar.gz |
Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Originally committed as revision 12495 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r-- | libpostproc/postprocess.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 572e6078fb..ec39e1c482 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -567,11 +567,9 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, int stride, #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 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, int stride, #include "postprocess_template.c" #endif -#ifdef ARCH_POWERPC #ifdef COMPILE_ALTIVEC #undef RENAME #define HAVE_ALTIVEC @@ -609,7 +606,6 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, int stride, #include "postprocess_altivec_template.c" #include "postprocess_template.c" #endif -#endif //ARCH_POWERPC //MMX versions #ifdef COMPILE_MMX @@ -665,13 +661,11 @@ static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[] 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 |