Revert wrong ARCH_BFIN --> HAVE_BFIN change.

Originally committed as revision 24627 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2007-09-27 08:00:22 +00:00
parent 86074ed1b7
commit 721d5e3b95
3 changed files with 3 additions and 3 deletions

View File

@ -2045,7 +2045,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
flags |= SWS_CPU_CAPS_MMX;
#elif defined (HAVE_ALTIVEC)
flags |= SWS_CPU_CAPS_ALTIVEC;
#elif defined (HAVE_BFIN)
#elif defined (ARCH_BFIN)
flags |= SWS_CPU_CAPS_BFIN;
#endif
#endif /* RUNTIME_CPUDETECT */

View File

@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif
#ifdef HAVE_BFIN
#ifdef ARCH_BFIN
uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4)));

View File

@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
}
#endif
#ifdef HAVE_BFIN
#ifdef ARCH_BFIN
if (c->flags & SWS_CPU_CAPS_BFIN)
{
SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);