0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

renaming ARCH_BFIN to HAVE_BFIN

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24309 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mhoffman 2007-08-31 14:57:50 +00:00
parent 1e1e0618ac
commit 503a85926f
3 changed files with 3 additions and 3 deletions

View File

@ -2041,7 +2041,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 (ARCH_BFIN) #elif defined (HAVE_BFIN)
flags |= SWS_CPU_CAPS_BFIN; flags |= SWS_CPU_CAPS_BFIN;
#endif #endif
#endif /* RUNTIME_CPUDETECT */ #endif /* RUNTIME_CPUDETECT */

View File

@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif #endif
#ifdef ARCH_BFIN #ifdef HAVE_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)));

View File

@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
} }
#endif #endif
#ifdef ARCH_BFIN #ifdef HAVE_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);