Commit a6db58cc authored by diego's avatar diego

Revert wrong ARCH_BFIN --> HAVE_BFIN change.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@24627 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 3abe63c0
...@@ -2045,7 +2045,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH ...@@ -2045,7 +2045,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
flags |= SWS_CPU_CAPS_MMX; flags |= SWS_CPU_CAPS_MMX;
#elif defined (HAVE_ALTIVEC) #elif defined (HAVE_ALTIVEC)
flags |= SWS_CPU_CAPS_ALTIVEC; flags |= SWS_CPU_CAPS_ALTIVEC;
#elif defined (HAVE_BFIN) #elif defined (ARCH_BFIN)
flags |= SWS_CPU_CAPS_BFIN; flags |= SWS_CPU_CAPS_BFIN;
#endif #endif
#endif /* RUNTIME_CPUDETECT */ #endif /* RUNTIME_CPUDETECT */
......
...@@ -157,7 +157,7 @@ typedef struct SwsContext{ ...@@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif #endif
#ifdef HAVE_BFIN #ifdef ARCH_BFIN
uint32_t oy __attribute__((aligned(4))); uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4))); uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4))); uint32_t zero __attribute__((aligned(4)));
......
...@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c) ...@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
} }
#endif #endif
#ifdef HAVE_BFIN #ifdef ARCH_BFIN
if (c->flags & SWS_CPU_CAPS_BFIN) if (c->flags & SWS_CPU_CAPS_BFIN)
{ {
SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c); SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment