aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Hoffman <mmhoffm@gmail.com>2007-08-31 14:57:50 +0000
committerMarc Hoffman <mmhoffm@gmail.com>2007-08-31 14:57:50 +0000
commit49488d12bfcfc4433fe9459949da10ab2227e954 (patch)
treee831271d3a3395ef5be0c7c9840d3c2512c8491d
parentc40485fa87cb0e8a826fc3e046edce308de148fe (diff)
downloadffmpeg-49488d12bfcfc4433fe9459949da10ab2227e954.tar.gz
renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 24309 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/swscale.c2
-rw-r--r--libswscale/swscale_internal.h2
-rw-r--r--libswscale/yuv2rgb.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index f12e0becae..196a34756e 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2041,7 +2041,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 (ARCH_BFIN)
+#elif defined (HAVE_BFIN)
flags |= SWS_CPU_CAPS_BFIN;
#endif
#endif /* RUNTIME_CPUDETECT */
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index b5d4ed7a50..62cfcf5185 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif
-#ifdef ARCH_BFIN
+#ifdef HAVE_BFIN
uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4)));
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 065c0e8ae8..507ad58db8 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
}
#endif
-#ifdef ARCH_BFIN
+#ifdef HAVE_BFIN
if (c->flags & SWS_CPU_CAPS_BFIN)
{
SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);